Splunk Dev

Indexing Time Differs From Raw Log Time

anandhalagarasa
Path Finder

Hi All,

We have configured log monitoring for set of servers. And when we searched the data for last 15 minutes, the raw data has a time in GMT and indexed time (Time) column is USA.

So kindly help to provide a solution to fix it asap.

Tags (1)
0 Karma

DalJeanis
Legend

Okay, first thing, you will save yourself a WHOLE lot of pain if you have your indexer (really all your hosts) running UTC. I realize you don't have personal control over that, but it is something to mention to the senior techs pretty much every time this kind of thing comes up. Eventually when they propose this great bright idea to move everything over to UTC, you just keep your mouth shut and nod, so it gets done and a bunch of your headaches go away.

Second thing, have you verified that your indexers are not backlogged? (Assuming you were really talking about indextime, which has nothing to do with the event _time.) It is not great for them to be taking 15 minutes to catch up to ingest a particular event, but it's not an error.

Third, verify that your time configuration in props.conf for the appropriate sourcetype matches the event. Looks to me like your look-ahead needs to be at least 38-40 characters, and the time format should be this -

%Y-%m-%dT%H:%M:%S.%6N%:z
0 Karma

anandhalagarasa
Path Finder

Can anyone help on my query

0 Karma

niketn
Legend

What is the field/SPL you are using to compare time? is it _time or _indextime?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

anandhalagarasa
Path Finder

its _time.

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...