Getting Data In

Do I need to escape a pipe character for TIME_FORMAT in props.conf?

bwooden
Splunk Employee
Splunk Employee

Do I need to escape the | (pipe character) for a TIME_FORMAT in props.conf?

Example Timestamp:

2014-02-07 || 5:30:02
Tags (3)
0 Karma
1 Solution

bwooden
Splunk Employee
Splunk Employee

No you do not. Your TIME_FORMAT would look like this:

TIME_FORMAT=%Y-%m-%d || %H:%M:%S

Per:

http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf
http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition

NB: You would escape a pipe in a TIME_PREFIX

View solution in original post

0 Karma

bwooden
Splunk Employee
Splunk Employee

No you do not. Your TIME_FORMAT would look like this:

TIME_FORMAT=%Y-%m-%d || %H:%M:%S

Per:

http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf
http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition

NB: You would escape a pipe in a TIME_PREFIX

0 Karma
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 ...