Getting Data In

Timestamp configuration in props for epoch time

Tamilraj28
Engager

Dear All,

I am getting data from the Search head in json format. The first field of the event is timestamp and it is in epoch time format("timestamp": 1609414219738696) with 16 digits.

My problem is i need to onboard data with _time value from timestamp field. So in props.conf file of Cluster master i updated as below

TIMESTAMP_FIELDS = timestamp
TIME_FORMAT = %s%6N

But the _time field is not populated properly . And i am getting 2 values in indexed data for timestamp field as below.

timestamp.PNG

Please help me on this 

Labels (5)
0 Karma

anwarmian
Communicator

Hello Tamilraj28,
You may have already found your solution, but here is one.
Since it is a json file and not a csv, and the timestamp needs to be extracted before the json  fields are available you need to use TIME_PREFIX not TIMESTAMP_FIELDS. in your case you need to add:

TIME_PREFIX = timestamp":

0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...