Splunk Search

Is it possible to rewrite the _time value for summary index events/

responsys_cm
Builder

I'm using "collect" to send events to a summary index. Collect seems to put its execution time into the _time field of the summary indexed events. If I wanted to have a field in the event data used as the _time value for the summary index, how would I do that?

Thanks.

Craig

Tags (2)

giorgio_adami_m
Path Finder

Yes, you can set the value of the _time field before the collect.

Example:

... | addinfo | eval _time=info_max_time | collect ...

you can use any eval function to calculate the _time value.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...