Getting Data In

Why is the "collect" command in my saved search saving generated data to an index with incorrect timestamps?

vishaloptulink
Explorer

Hi ,

I have a saved search that is executed every minute and generates data. I have a "collect index=" command in the search to save the generated data to an index.

My observation is that the index is collecting data, but with the incorrect value for the _time field of the index.

What is causing the invalid timestamp being recorded in _time field? How can I fix this?

Please let me know.

Thank you.

vishaloptulink
Explorer

Setting _time=now() and collecting the events in the index is setting the _time correctly to the current time.

But not sure if this is how collect should be working.

0 Karma

vishaloptulink
Explorer

Hi,
Some more information on the issue we are facing.

Seems like the _time is being set to latestTime of the search.

This is not right.

Please help.

Thank you.

0 Karma
Get Updates on the Splunk Community!

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...