Getting Data In

How to write props.conf to extract an epoch time as timestamp from events?

ankithreddy777
Contributor

I have a epoch time in my events: timestamp=1478787869121. How to write props.conf to extract this timestamp?

0 Karma

sk314
Builder

Try this:

[your sourcetype]
TIME_PREFIX = timestamp=
TIME_FORMAT = %s%3N

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...