Getting Data In

How to configure time format in props.conf to parse the original time in the log?

rkeenan
Explorer

I've got logs that have time being sent to a syslog - the syslog is also putting a time on it to track when the logs hit the syslog.

I want Splunk to parse the original time in the log, and I've tried configuring the props.conf, but it seems that Splunk is still picking up the syslog prepended time. This is running on a HF and then being sent to Splunk cloud. Inputs sourcetype matches what I have in the props.conf.

I've run this through a local instance of Splunk to get the props.conf and it looks correct in the data preview - local is Windows, prod is Linux, but I wouldn't think that would matter for this.

Any suggestions on what to change would be greatly appreciated.

Example log line:

Apr 29 19:44:33 text SysLog[425355]: time="[29/Apr/2020:19:44:33 +0000]"

Current props:

[<sourcetype_name_here>]
SHOULD_LINEMERGE        = false
NO_BINARY_CHECK         = true
LINE_BREAKER            = ([\r\n]+)
TIME_FORMAT = %d/%b/%Y:%H:%M:%S %z
TIME_PREFIX = time\=\"\[
TZ                      = GMT
MAX_TIMESTAMP_LOOKAHEAD = 27
0 Karma

richgalloway
SplunkTrust
SplunkTrust

You put those props on the HF, right?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...