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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...