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!

Best Practices: Splunk auto adjust pipeline queue

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

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...