Skip to content

Commit

Permalink
Merge pull request #35 from SumoLogic/repo-sync/apps/default
Browse files Browse the repository at this point in the history
🔄 synced file(s) with Sanyaku/apps
  • Loading branch information
sumo-drosiek authored Jan 9, 2024
2 parents bd1c4a1 + dd3d621 commit f7dbfd5
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions assets/conf.d/windows.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
receivers:
windowseventlog/application/localhost:
channel: Application
operators:
- type: add
field: resource["_sourceName"]
value: Application
windowseventlog/security/localhost:
channel: Security
operators:
- type: add
field: resource["_sourceName"]
value: Security
windowseventlog/system/localhost:
channel: System
operators:
- type: add
field: resource["_sourceName"]
value: System
hostmetrics/localhost:
collection_interval: 1m
scrapers:
Expand All @@ -25,16 +37,47 @@ receivers:
network: null
paging: null
process:
include:
match_type: strict
names:
- otelcol-sumo.exe
mute_process_exe_error: true
mute_process_io_error: true
mute_process_name_error: true
metrics:
process.threads:
enabled: true
process.cpu.utilization:
enabled: true
process.memory.utilization:
enabled: true
process.disk.operations:
enabled: true
processors:
resource/windows_resource_attributes/localhost:
attributes:
- key: sumo.datasource
value: windows
action: insert
- key: _contentType
value: OpenTelemetry
action: insert
- key: _sourceCategory
value: otel/windows
action: insert
resource/windows_resource_attributes/metrics/localhost:
attributes:
- key: _source
value: windows/hostmetrics
action: insert
- key: _sourceName
value: windows
action: insert
resource/windows_resource_attributes/logs/localhost:
attributes:
- key: _source
value: windows/windowseventlog
action: insert
service:
pipelines:
metrics/windows/localhost:
Expand All @@ -43,6 +86,7 @@ service:
processors:
- memory_limiter
- resourcedetection/system
- resource/windows_resource_attributes/metrics/localhost
- resource/windows_resource_attributes/localhost
- batch
exporters:
Expand All @@ -55,6 +99,7 @@ service:
processors:
- memory_limiter
- resourcedetection/system
- resource/windows_resource_attributes/logs/localhost
- resource/windows_resource_attributes/localhost
- batch
exporters:
Expand Down

0 comments on commit f7dbfd5

Please sign in to comment.