Skip to content

Commit f7dbfd5

Browse files
authored
Merge pull request #35 from SumoLogic/repo-sync/apps/default
🔄 synced file(s) with Sanyaku/apps
2 parents bd1c4a1 + dd3d621 commit f7dbfd5

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

assets/conf.d/windows.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
receivers:
22
windowseventlog/application/localhost:
33
channel: Application
4+
operators:
5+
- type: add
6+
field: resource["_sourceName"]
7+
value: Application
48
windowseventlog/security/localhost:
59
channel: Security
10+
operators:
11+
- type: add
12+
field: resource["_sourceName"]
13+
value: Security
614
windowseventlog/system/localhost:
715
channel: System
16+
operators:
17+
- type: add
18+
field: resource["_sourceName"]
19+
value: System
820
hostmetrics/localhost:
921
collection_interval: 1m
1022
scrapers:
@@ -25,16 +37,47 @@ receivers:
2537
network: null
2638
paging: null
2739
process:
40+
include:
41+
match_type: strict
42+
names:
43+
- otelcol-sumo.exe
44+
mute_process_exe_error: true
45+
mute_process_io_error: true
2846
mute_process_name_error: true
2947
metrics:
3048
process.threads:
3149
enabled: true
50+
process.cpu.utilization:
51+
enabled: true
52+
process.memory.utilization:
53+
enabled: true
54+
process.disk.operations:
55+
enabled: true
3256
processors:
3357
resource/windows_resource_attributes/localhost:
3458
attributes:
3559
- key: sumo.datasource
3660
value: windows
3761
action: insert
62+
- key: _contentType
63+
value: OpenTelemetry
64+
action: insert
65+
- key: _sourceCategory
66+
value: otel/windows
67+
action: insert
68+
resource/windows_resource_attributes/metrics/localhost:
69+
attributes:
70+
- key: _source
71+
value: windows/hostmetrics
72+
action: insert
73+
- key: _sourceName
74+
value: windows
75+
action: insert
76+
resource/windows_resource_attributes/logs/localhost:
77+
attributes:
78+
- key: _source
79+
value: windows/windowseventlog
80+
action: insert
3881
service:
3982
pipelines:
4083
metrics/windows/localhost:
@@ -43,6 +86,7 @@ service:
4386
processors:
4487
- memory_limiter
4588
- resourcedetection/system
89+
- resource/windows_resource_attributes/metrics/localhost
4690
- resource/windows_resource_attributes/localhost
4791
- batch
4892
exporters:
@@ -55,6 +99,7 @@ service:
5599
processors:
56100
- memory_limiter
57101
- resourcedetection/system
102+
- resource/windows_resource_attributes/logs/localhost
58103
- resource/windows_resource_attributes/localhost
59104
- batch
60105
exporters:

0 commit comments

Comments
 (0)