Getting Data In

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

jcorcorans
Engager

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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...