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!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...