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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...