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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...