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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...