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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...