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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...