Getting Data In

Does splunk store the datetime each specific event was indexed ?

ruiaires
Path Finder

Sometimes, when troubleshooting inputs on large installations (deployment apps, several layers of forwarders, etc), it would be nice to know when a specific event was actually indexed on splunk... It would be also useful when adding historic data (old data on file) and get a notion that it was not indexed "as it was generated" or when the original source process (that writes on a log file) does this by "bursts" instead of "near-real-time"

It would be very simple just to store something like a "_indexedtime" field on every event.
Is there any debug setting to turn this on ?

0 Karma
1 Solution

ppablo
Retired

Hi @ruiaires

Yup!

"The _indextime field contains the time that an event was indexed, expressed in Unix time. You might use this field to focus on or filter out events that were indexed within a specific range of time."

Check out the docs on other internal fields here
http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/UseDefaultFields#Internal_fields

View solution in original post

0 Karma

ppablo
Retired

Hi @ruiaires

Yup!

"The _indextime field contains the time that an event was indexed, expressed in Unix time. You might use this field to focus on or filter out events that were indexed within a specific range of time."

Check out the docs on other internal fields here
http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/UseDefaultFields#Internal_fields

0 Karma
Get Updates on the Splunk Community!

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 ...

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, ...