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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...