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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...