Getting Data In

Unable to get day value padding to work via the props.conf

babcolee
Path Finder

Unable to get day value padding to work via the props.conf. The log file looks as follows:

Jul  5 20:51:28 abcdenc06 lost page write due to I/O error on dm-1

The source has multiple names in the 4th directory source="/var/log/rmtlogs/abcde/systems.log" or could be source="/var/log/rmtlogs/fghij/systems.log".

My props.conf file is defined as:

[source::/var/log/rmtlogs/*/systems.log
SHOULD_LINEMERGE = false
TIME_PREFIX = ^
TIME_FORMAT = %b %e %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 16
0 Karma

woodcock
Esteemed Legend

It is cumbersome to use source for any props.conf stanza header; almost always we use sourcetype. I suggest that you change your stanza header to use the sourcetype that you set in your inputs.conf for these files, even if it is 2 different sourcetypes. If you mist keep this as-is, then be sure to add a ] character to the end of your stanza header line (it is missing).

0 Karma
Get Updates on the Splunk Community!

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

[Puzzles] Solve, Learn, Repeat: Nested loops in Event Conversion

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...