Getting Data In

Time field extraction

pankajupadhyay
Path Finder

Hi,

How we can extract time from the log event and then index ?

As Splunk shows different time stamp on indexer but time stamp in log event are different.

 

Please help.

 

 

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pankajupadhyay,

probably Splunk cannot correctly recognize timestamps, so you have to give to Splunk some additional information, for a sourcetype:

  • TIME_FORMAT
  • TIME_PREFIX
  • MAX_TIMESTAMP_LOOKAHEAD
  • etc...

you can find more infos at https://docs.splunk.com/Documentation/Splunk/8.1.1/Data/Configuretimestamprecognition

If you share some sample of your data I could help you in this job.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...