Getting Data In

linux logs only showing epoch time - how to convert epoch time upon ingestion in props/trans

jcorcorans
Explorer

linux logs only showing epoch time - how to convert epoch time upon ingestion in props/trans ?

is there a way or a conversion to convert the epoch time to human readable upon log ingestion?

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @jcorcorans ,

during ingestion, Splunk recognize the epochtime and uses it as timestamp, so you can use _time field to have the timestamp readable.

It isn't a good practice to convert it before indexing, and anyway, you can also create an additional field at search time.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @jcorcorans ,

during ingestion, Splunk recognize the epochtime and uses it as timestamp, so you can use _time field to have the timestamp readable.

It isn't a good practice to convert it before indexing, and anyway, you can also create an additional field at search time.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...