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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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