Skip to content

Commit

Permalink
Fix different sourcetype examples. Partial revert (signalfx#2011) (si…
Browse files Browse the repository at this point in the history
…gnalfx#2443)

Returns state to signalfx#2053.
  • Loading branch information
aalokmehta authored Jan 4, 2023
1 parent 3919759 commit 7f67845
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ processors:
# com.splunk.sourcetype is the default key the HEC exporter will use to extract the source type of the record.
# See https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/splunkhecexporter
# under the configuration key `hec_metadata_to_otel_attrs/sourcetype`
- key: com.splunk.source
value: "source foo"
- key: com.splunk.sourcetype
value: "sourcetype1"
action: upsert
resource/two:
attributes:
- key: com.splunk.source
value: "source bar"
- key: com.splunk.sourcetype
value: "sourcetype2"
action: upsert
resource/three:
attributes:
- key: com.splunk.source
value: "source foobar"
- key: com.splunk.sourcetype
value: "sourcetype3"
action: upsert

receivers:
Expand Down

0 comments on commit 7f67845

Please sign in to comment.