Getting Data In

Setting the timestamp on a log entry

imacdonald2
Path Finder

I can't seem to get this working, logs are getting confused about the time format since it is Day Month Year.

the log is in /var/log/holly/alarms.20120307-001.log

07/03/12 17:33:54;test2

more props.conf
[source::/var/log/holly/*alarms*"]
TIME_PREFIX = ^ 
TIME_FORMAT = %d/%m/%y %H:%M:%S;
0 Karma
1 Solution

imacdonald2
Path Finder

If I change the source to [source::/var/log/holly/alarms.*.log] it now works,
Grrr. I think I see the typo, the " at the see of the source.

View solution in original post

0 Karma

imacdonald2
Path Finder

If I change the source to [source::/var/log/holly/alarms.*.log] it now works,
Grrr. I think I see the typo, the " at the see of the source.

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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[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 ...