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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...