Getting Data In

Why am I unsuccessful in trying to parse and set timestamp?

AmyDeluxe0506
Engager

Hi guys!

I load a log file of apache to the splunk.

In the "Set Source Type" window the system missed the day in the timestamp and I unsuccess to modify it manually.

 

Someone know this problem?

timestamp.png

Labels (2)

GaetanVP
Contributor

Hello @AmyDeluxe0506,

I think the problem is related to the fact that you're parsing a very old log file (from 2004).
I would suggest you to use the Advanced Timestamp option (leave that part empty)

GaetanVP_1-1663690039739.png

 

And to add, inside the "Advanced" window this field :

MAX_DAYS_AGO --> 8035 (or even a greater integer)

GaetanVP_2-1663690227453.png


Let me know if that solved your issue!
Regards,

GaetanVP

 




0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try %d/%b/%Y:%H:%M:%S %z as the timestamp format.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...