Splunk Enterprise

Splunk Time Conversion

OiskyPoisky
Explorer

Morning Team,

Currently looking at trying to convert what i think is 10 digit Unix/Epoc time into a human readable format but struggling to find the right syntax.

"timestamp" field values:

1561012289
1561012304
1561012315
1609193962

 

Any assistance would be appreciated, happy to provide more info if needed!

Labels (1)
0 Karma
1 Solution

to4kawa
Ultra Champion

try strptime with %S

View solution in original post

0 Karma

OiskyPoisky
Explorer

Thanks Kindly! 

Fiddled around a little but got to this eventually:

| eval timestamp=strftime(timestamp, "%Y-%m-%d")

Thanks for pushing me in the right direction 🙂 

0 Karma

to4kawa
Ultra Champion

try strptime with %S

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...