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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...