Getting Data In

How to configure our expected timestamp format in props.conf?

splunker9999
Path Finder

Hi,

We need to format our time stamps using props.conf, since our events do not have date/month/year to our logs, it has only %H:%M:%S. we need to append %Y/%M/%D to every event.

This is for our logs format looks like.

14:55:55,229 INFO [stdout] (ServerService THread Pool--64)ss_debug(1:)Sending secure hello message
14:55:55,232 INFO [stdout] (ServerService THread Pool--64)ss_debug(1:) server created new session

Can you please provide props configuration for this?

Thanks

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

What happens if you just set:

TIME_PREFIX = ^
TIME_FORMAT = %H:%M:%S,%3N
MAX_TIMESTAMP_LOOKAHEAD = 12

Won't it just use the current year anyway?

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,  ...