Getting Data In

Timeparsing issues

walsborn
Path Finder

Hello all,

I'm having a time parsing issue that I don't know how to fix and am looking for some help.

My inputs on the syslog looks like this:

[monitor]
index = *
no_appending_timestamp = true
host_segment = 5
disabled = false

My Props for this source type is configured by a TA.  But the problem I'm having in the logs were from changes in our syslog system.

The new log looks like Dec 14 08:50:19 bxxm-itb.net.xxx.xxx 1,2021/12/14 08:50:18,

How do I configure props to tell splunk to ignore the first timestamp, skip the host fqdn and then parse the second time?

Labels (4)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @walsborn,

you have to add to your props.conf the following options:

[your_sourcetype]
TIME_PREFIX = ,
TIME_FORMAT = %Y/%m/%d %H:%M:%S

Ciao.

Giuseppe

View solution in original post

walsborn
Path Finder

That did it @gcusello , thank you.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @walsborn,

you have to add to your props.conf the following options:

[your_sourcetype]
TIME_PREFIX = ,
TIME_FORMAT = %Y/%m/%d %H:%M:%S

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...