Skip to content

Commit

Permalink
🔄 synced local 'assets/conf.d/windows.yaml' with remote 'otelcol-exam…
Browse files Browse the repository at this point in the history
…ples/windows.yaml.example'
  • Loading branch information
sumologic-sanyaku-apps committed Jan 5, 2024
1 parent bd1c4a1 commit dd3d621
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 dd3d621

Please sign in to comment.