-
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
base: main
Are you sure you want to change the base?
Changes from all 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?) |
||
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 | ||
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. Where does |
||
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
http://
required here? Same question for other usages. I'm wondering why the value provided isn't consistent with usage of other environment variables.