Getting Data In

How to convert timestamp into proper date

sahityasweety
Explorer

Hello Splunk Community,

I am trying to extract the "timestamp":"1715235824441" with proper details.
Could anyone help me on this.
Thanks in advance .

 

Regards,
Sahitya

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @sahityasweety,

this timestamp seems to be in epochtime, so to transfrom it in human readable format you can use the strftime function in the eval command.

e.g. to transform in format yyy-mm-dd HH:MM:SS, you could try:

| eval timestamp=strftime(timetampo,"%Y-%m-%d %H:%M:%S")

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...