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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...