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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...