Hi, Splunk Community,
I'm encountering a timestamp parsing issue with Linux logs being ingested into Splunk through a Heavy Forwarder.
Issue Description:
Splunk is generating DateParserVerbose warnings indicating inconsistent timestamp interpretation. Some events are being interpreted as December 2023, while other events from the same log source are correctly interpreted as December 2026.
The issue occurs with a custom Linux sourcetype linux_crond that receives logs from multiple Linux hosts and two log sources:
WARN DateParserVerbose - Accepted time (Thu Dec 3 12:25:02 2026) is suspiciously far away from the previous event's time (Thu Dec 21 12:25:01 2023), but still accepted because it was extracted by the same pattern.
Context:
source=/var/log/messages
host=linux-host-01
sourcetype=custom_linux_sourcetype
props.conf file in /opt/splunk/etc/system/default, there is no definition for that custom sourcetype. I even attached the screenshot for this in my previous query.
ciao.
@riko_chan
Hi @riko_chan ,
if this is the format of your logs, you have to add the TIME_PREFIX definition in your sourcetype definition in props.conf:
[custom_linux_sourcetype]
TIME_PREFIX = Accepted\stime\s\(in this way, Splunk, will recognize the correct timestamp to assign to your events.
Ciao.
Giuseppe
Hi @riko_chan ,
could you share some sample of your logs (eventually anonymized) in text format?
then, could you share the definition of the custom sourcetype (props.conf)?
maybe in the logs there are more than one timestamp and there isn't the TIME_PREFIX definition that helps to recognize the correct timestamp.
Ciao.
Giuseppe