Splunk Search

How can I see the Date/time my data was received by Splunk?

hartcl1
Explorer

I'm having an issue with NTP, so the date and time of the records sent by the Operating Systems are all wrong. I want to see/or sort my data within Splunk by the Date/Time the record was received by the Splunk daemon.

Is this possible?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try using _indextime. It has to be assigned to a variable before it can be used in commands. Like this

your base search | eval sortTime=_indextime | sort sortTime | table ...
---
If this reply helps you, Karma would be appreciated.
0 Karma

ppablo
Retired

Hi @hartcl1

Are you looking for the internal _indextime field?
http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/UseDefaultFields#Internal_fields

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...