# After using Grafana Alloy some features does not work

**URL:** <https://community.grafana.com/t/after-using-grafana-alloy-some-features-does-not-work/123516>\
**Category:** Configuration\
**Created:** [June 8, 2024, 3:12am UTC](https://community.grafana.com/t/after-using-grafana-alloy-some-features-does-not-work/123516 "2024-06-08T03:12:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suloveoun](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/suloveoun/32/45934_2.png) [@suloveoun](https://community.grafana.com/u/suloveoun)\
**Post date:** [June 8, 2024, 3:12am UTC](https://community.grafana.com/t/after-using-grafana-alloy-some-features-does-not-work/123516/1 "2024-06-08T03:12:31Z")

</div>

- What Grafana version and what operating system are you using?  
cloud version

- **What** are you trying to achieve?  
see all windows operate such as networking, cpu, ram, log and so on

- **How** are you trying to achieve it?  
use Alloy Agent

- What happened?  
CPU usage, Disk reads/writes, Network traffic are not working

- What did you **expect** to happen?  
it should show all these data, when i use Grafana Agent Static it is working all.

- Can you copy/paste the configuration(s) that you are having problems with?  
prometheus.exporter.windows “integrations\_windows\_exporter” {  
enabled\_collectors = [“cpu”, “cs”, “logical\_disk”, “net”, “os”, “service”, “system”, “textfile”, “time”, “diskdrive”]  
}  
discovery.relabel “integrations\_windows\_exporter” {  
targets = prometheus.exporter.windows.integrations\_windows\_exporter.targets

loki.process “logs\_integrations\_windows\_exporter\_application” {  
forward\_to = [loki.write.grafana\_cloud\_loki.receiver]

stage.json {  
expressions = {  
level = “levelText”,  
source = “source”,  
}  
}

stage.labels {  
values = {  
level = “”,  
source = “”,  
}  
}  
}  
loki.relabel “logs\_integrations\_windows\_exporter\_application” {  
forward\_to = [loki.process.logs\_integrations\_windows\_exporter\_application.receiver]

rule {  
source\_labels = [“computer”]  
target\_label = “agent\_hostname”  
}  
}  
loki.source.windowsevent “logs\_integrations\_windows\_exporter\_application” {  
locale = 1033  
eventlog\_name = “Application”  
bookmark\_path = “./bookmarks-app.xml”  
poll\_interval = “0s”  
use\_incoming\_timestamp = true  
forward\_to = [loki.relabel.logs\_integrations\_windows\_exporter\_application.receiver]  
labels = {  
instance = constants.hostname,  
job = “integrations/windows\_exporter”,  
}  
}  
loki.process “logs\_integrations\_windows\_exporter\_system” {  
forward\_to = [loki.write.grafana\_cloud\_loki.receiver]

stage.json {  
expressions = {  
level = “levelText”,  
source = “source”,  
}  
}

stage.labels {  
values = {  
level = “”,  
source = “”,  
}  
}  
}  
loki.relabel “logs\_integrations\_windows\_exporter\_system” {  
forward\_to = [loki.process.logs\_integrations\_windows\_exporter\_system.receiver]

rule {  
source\_labels = [“computer”]  
target\_label = “agent\_hostname”  
}  
}  
loki.source.windowsevent “logs\_integrations\_windows\_exporter\_system” {  
locale = 1033  
eventlog\_name = “System”  
bookmark\_path = “./bookmarks-sys.xml”  
poll\_interval = “0s”  
use\_incoming\_timestamp = true  
forward\_to = [loki.relabel.logs\_integrations\_windows\_exporter\_system.receiver]  
labels = {  
instance = constants.hostname,  
job = “integrations/windows\_exporter”,  
}  
}

- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us **exactly** what they were.  
i don’t see any error.

- Did you follow any online instructions? If so, what is the URL?  
don’t see fit solution.
