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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...