-
Here is the setup: OTEL Metrics parser script ==> OTLP:4317/4318 ==> OTEL collector ==> Splunk_HEC ==> Splunk Enterprise The script updates a counter with a custom attribute for time (custom_time in epoch). I have not been able to update the _time attribute (metadata) of Splunk Enterprise. The _time attribute is always the ingestion time even if the custom_time is a few months in the past. Am I missing something very basic or is this something that's not supported for metrics? Script:
OTEL collector config
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks @atoulme. My mistake. Let me know if this is what you recommended. |
Beta Was this translation helpful? Give feedback.
_time
is a Splunk specific field, and that's not how we typically manipulate time with OpenTelemetry. See the transform processor to manipulate the timestamp of metric data points.