-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 synced local 'assets/conf.d/examples/' with remote 'otelcol-examples/'
- Loading branch information
sumologic-sanyaku-apps
committed
Dec 23, 2024
1 parent
e584a26
commit 515143e
Showing
30 changed files
with
2,858 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
assets/conf.d/examples/activedirectoryopentelemetry.yaml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
receivers: | ||
windowseventlog/activedirectory/application/localhost: | ||
channel: Application | ||
operators: | ||
- type: add | ||
field: resource["_sourceName"] | ||
value: Application | ||
windowseventlog/activedirectory/security/localhost: | ||
channel: Security | ||
operators: | ||
- type: add | ||
field: resource["_sourceName"] | ||
value: Security | ||
windowseventlog/activedirectory/system/localhost: | ||
channel: System | ||
operators: | ||
- type: add | ||
field: resource["_sourceName"] | ||
value: System | ||
processors: | ||
resource/activedirectory_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/activedirectory_resource_attributes/logs/localhost: | ||
attributes: | ||
- key: _source | ||
value: windows/windowseventlog | ||
action: insert | ||
service: | ||
pipelines: | ||
logs/activedirectory/localhost: | ||
receivers: | ||
- windowseventlog/activedirectory/application/localhost | ||
- windowseventlog/activedirectory/system/localhost | ||
- windowseventlog/activedirectory/security/localhost | ||
processors: | ||
- memory_limiter | ||
- resourcedetection/system | ||
- resource/activedirectory_resource_attributes/logs/localhost | ||
- resource/activedirectory_resource_attributes/localhost | ||
- batch | ||
exporters: | ||
- sumologic |
117 changes: 117 additions & 0 deletions
117
assets/conf.d/examples/activemqopentelemetry.yaml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
receivers: | ||
jmx/activemqmetrics/localhost: | ||
jar_path: /opt/opentelemetry-jmx-metrics.jar | ||
endpoint: localhost:11099 | ||
target_system: activemq | ||
collection_interval: 60s | ||
username: monitorRole | ||
password: password | ||
log_level: info | ||
hostmetrics/activemqprocessmetrics/localhost: | ||
collection_interval: 1m | ||
scrapers: | ||
process: | ||
include: | ||
names: | ||
- java | ||
match_type: regexp | ||
mute_process_exe_error: true | ||
mute_process_io_error: true | ||
mute_process_name_error: true | ||
metrics: | ||
process.cpu.utilization: | ||
enabled: true | ||
process.memory.utilization: | ||
enabled: true | ||
process.disk.operations: | ||
enabled: true | ||
filelog/activemqserverLogs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
multiline: | ||
line_start_pattern: ^\d{4}-\d{2}-\d{2}\s+\d{1,2}:\d{1,2}:\d{1,2} | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /opt/bitnami/activemq/data/activemq.log | ||
filelog/activemqauditLogs/localhost: | ||
multiline: | ||
line_start_pattern: ^\d{4}-\d{2}-\d{2}\s+\d{1,2}:\d{1,2}:\d{1,2} | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /opt/bitnami/activemq/data/audit.log | ||
processors: | ||
resource/activemq_resource_attributes/localhost: | ||
attributes: | ||
- key: messaging.system | ||
value: activemq | ||
action: insert | ||
- key: sumo.datasource | ||
value: activemq | ||
action: insert | ||
- key: _contentType | ||
value: OpenTelemetry | ||
action: insert | ||
- key: messaging.node.name | ||
action: insert | ||
from_attribute: host.name | ||
- key: messaging.cluster.name | ||
value: activemq_cluster | ||
action: insert | ||
- key: _sourceCategory | ||
value: otel/activemq | ||
action: insert | ||
resource/activemq_resource_attributes/metrics/localhost: | ||
attributes: | ||
- key: _source | ||
value: activemq/jmx | ||
action: insert | ||
- key: _sourceName | ||
value: activemq | ||
action: insert | ||
resource/activemq_resource_attributes/logs/localhost: | ||
attributes: | ||
- key: _source | ||
value: activemq/filelog | ||
action: insert | ||
service: | ||
pipelines: | ||
metrics/activemqmetrics/localhost: | ||
receivers: | ||
- jmx/activemqmetrics/localhost | ||
- hostmetrics/activemqprocessmetrics/localhost | ||
processors: | ||
- memory_limiter | ||
- resourcedetection/system | ||
- resource/activemq_resource_attributes/metrics/localhost | ||
- resource/activemq_resource_attributes/localhost | ||
- batch | ||
exporters: | ||
- sumologic | ||
logs/activemq/localhost: | ||
receivers: | ||
- filelog/activemqserverLogs/localhost | ||
- filelog/activemqauditLogs/localhost | ||
processors: | ||
- memory_limiter | ||
- resourcedetection/system | ||
- resource/activemq_resource_attributes/logs/localhost | ||
- resource/activemq_resource_attributes/localhost | ||
- batch | ||
exporters: | ||
- sumologic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
receivers: | ||
apache/localhost: | ||
endpoint: http://localhost:80/server-status?auto | ||
filelog/apache/accessLogs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/log/apache2/access.log | ||
filelog/apache/errorLogs/localhost: | ||
multiline: | ||
line_start_pattern: ^\[\S{3}\s\S{3}\s\d{1,2}\s[^\]]+\].* | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/log/apache2/error.log | ||
processors: | ||
resource/apache_resource_attributes/localhost: | ||
attributes: | ||
- key: webengine.system | ||
value: apache | ||
action: insert | ||
- key: sumo.datasource | ||
value: apache | ||
action: insert | ||
- key: _contentType | ||
value: OpenTelemetry | ||
action: insert | ||
- key: webengine.node.name | ||
action: insert | ||
from_attribute: host.name | ||
- key: webengine.cluster.name | ||
value: apache_cluster | ||
action: insert | ||
resource/apache_resource_attributes/metrics/localhost: | ||
attributes: | ||
- key: _source | ||
value: apache/apache | ||
action: insert | ||
- key: _sourceName | ||
value: apache | ||
action: insert | ||
resource/apache_resource_attributes/logs/localhost: | ||
attributes: | ||
- key: _source | ||
value: apache/filelog | ||
action: insert | ||
service: | ||
pipelines: | ||
metrics/apache/localhost: | ||
receivers: | ||
- apache/localhost | ||
processors: | ||
- memory_limiter | ||
- resourcedetection/system | ||
- resource/apache_resource_attributes/metrics/localhost | ||
- resource/apache_resource_attributes/localhost | ||
- batch | ||
exporters: | ||
- sumologic | ||
logs/apache/localhost: | ||
receivers: | ||
- filelog/apache/accessLogs/localhost | ||
- filelog/apache/errorLogs/localhost | ||
processors: | ||
- memory_limiter | ||
- resourcedetection/system | ||
- resource/apache_resource_attributes/logs/localhost | ||
- resource/apache_resource_attributes/localhost | ||
- batch | ||
exporters: | ||
- sumologic |
86 changes: 86 additions & 0 deletions
86
assets/conf.d/examples/artifactory7opentelemetry.yaml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
receivers: | ||
filelog/artifactory/logs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/opt/jfrog/artifactory/logs/artifactory.log | ||
filelog/artifactory/accesslogs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/opt/jfrog/artifactory/logs/access.log | ||
filelog/artifactory/requestlogs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/opt/jfrog/artifactory/logs/request.log | ||
filelog/artifactory/trafficlogs/localhost: | ||
storage: file_storage | ||
include_file_name: false | ||
include_file_path: true | ||
operators: | ||
- type: move | ||
from: attributes["log.file.path"] | ||
to: resource["log.file.path"] | ||
- type: copy | ||
from: resource["log.file.path"] | ||
to: resource["_sourceName"] | ||
include: | ||
- /var/opt/jfrog/artifactory/logs/traffic.*.log | ||
processors: | ||
resource/artifactory_resource_attributes/localhost: | ||
attributes: | ||
- key: sumo.datasource | ||
value: artifactory | ||
action: insert | ||
- key: _contentType | ||
value: OpenTelemetry | ||
action: insert | ||
- key: _sourceCategory | ||
value: otel/artifactory | ||
action: insert | ||
resource/artifactory_resource_attributes/logs/localhost: | ||
attributes: | ||
- key: _source | ||
value: artifactory/filelog | ||
action: insert | ||
service: | ||
pipelines: | ||
logs/artifactory/localhost: | ||
receivers: | ||
- filelog/artifactory/logs/localhost | ||
- filelog/artifactory/accesslogs/localhost | ||
- filelog/artifactory/requestlogs/localhost | ||
- filelog/artifactory/trafficlogs/localhost | ||
processors: | ||
- memory_limiter | ||
- resource/artifactory_resource_attributes/localhost | ||
- batch | ||
- resourcedetection/system | ||
- resource/artifactory_resource_attributes/logs/localhost | ||
exporters: | ||
- sumologic |
Oops, something went wrong.