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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...