Splunk Search

How do I find out why _indextime is greater than _time for a lot of my events?

abhayneilam
Contributor

Hi,

I have a lot of events where "indextime" is > than "eventime". It means something went wrong and it might be one of the below reasons:

  1. Forwarder was down ( Because of which event time is not equal to index time , hence indextime > eventime )
  2. Backlogs
  3. Timestamp is not in the correct format

Please help me out in finding out how to get the exact reason of the difference between indextime and the eventime from the above three listed reasons or if there is any.

Basically, how to identify what is the reason of getting the difference between "indextime" and "eventtime"

Please help me with some good examples. Urgently needed. your help would b highly appreciated !!

Cheers,

matthieu_araman
Communicator

I would graph number of incoming log + the delta

if it's all or nothing -> fwd stop ?

if varies with load -> perf pb somewhere

otherwise or if it's random it may be a timestamp parsing pb

Anyway, in your case, I would start by suspecting the timestamp parsing

0 Karma

abhayneilam
Contributor

Thanks for your prompt reply Mat !!

How will you get the number of incoming logs and Delta ? and what does "if it's all or nothing mean" ? How will you check if it varies with load 😞 .
and more importantly how will you check the wrong timestamp populated in the events ?

Please try to get me some practical stuff, commands or anything which could be useful to solve the stuffs.

Cheers,

0 Karma

richgalloway
SplunkTrust
SplunkTrust

How big is the difference between event time and index time?

---
If this reply helps you, Karma would be appreciated.
0 Karma

abhayneilam
Contributor

difference could be 2 secs , but we are ignoring 2 secs diff ,

We have kept a threshold of > 5-10 mins

Cheers,
..

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...