Getting Data In

How to configure props.conf for a Unix timestamp in a JSON log file?

daniel333
Builder

All,

I have a json log file we're bringing in.

Its time is logged as:

"start":"1461191869.576”

Any idea on where I would start with props.conf for timestamping?

0 Karma
1 Solution

twinspop
Influencer

Try this:

[your_sourcetype]
TIME_PREFIX = "start":"
TIME_FORMAT = %s.%3N

View solution in original post

twinspop
Influencer

Try this:

[your_sourcetype]
TIME_PREFIX = "start":"
TIME_FORMAT = %s.%3N
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...