-
Notifications
You must be signed in to change notification settings - Fork 167
Add entites for Agent - GW setup #6311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,6 +142,22 @@ exporters: | |
token: "${SPLUNK_ACCESS_TOKEN}" | ||
endpoint: "${SPLUNK_INGEST_URL}/v1/log" | ||
log_data_enabled: false | ||
# To send entities (applicable only if discovery mode is enabled) | ||
otlphttp/entities: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is only relevant when discovery is enabled, is there some way to tie this to discovery mode? (The pipeline is only enabled when discovery mode is enabled?) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is on the GW side and discovery might not be enabled there but enabled at the sender |
||
logs_endpoint: "${SPLUNK_INGEST_URL}/v3/event" | ||
headers: | ||
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}" | ||
auth: | ||
authenticator: headers_setter | ||
|
||
connectors: | ||
# Routing connector to separate entity events from regular logs | ||
routing/logs: | ||
default_pipelines: [logs] | ||
table: | ||
- context: log | ||
condition: instrumentation_scope.attributes["otel.entity.event_as_log"] == true | ||
crobert-1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pipelines: [logs/entities] | ||
|
||
service: | ||
extensions: [headers_setter, health_check, http_forwarder, zpages] | ||
|
@@ -166,6 +182,13 @@ service: | |
processors: [memory_limiter, batch] | ||
exporters: [signalfx] | ||
logs: | ||
receivers: [otlp] | ||
receivers: [routing/logs] | ||
processors: [memory_limiter, batch] | ||
exporters: [splunk_hec, splunk_hec/profiling] | ||
logs/entities: | ||
receivers: [routing/logs] | ||
processors: [memory_limiter, batch] | ||
exporters: [otlphttp/entities] | ||
logs/split: | ||
receivers: [otlp] | ||
exporters: [routing/logs] |
Uh oh!
There was an error while loading. Please reload this page.