Splunk Search

How to ingest elapsed time

gmbenz0726
New Member

My file contains data like this:

85119.805: [GC pause (G1 Evacuation Pause) (young) 218M->81M(256M), 0.0159821 secs]
87180.697: [GC pause (G1 Evacuation Pause) (young) 220M->82M(256M), 0.0115120 secs]

Where the number at the beginning of each line is the elapsed seconds since the file was opened.

How do I ingest this into a date/time stamp?

Tags (1)
0 Karma

woodcock
Esteemed Legend

You cannot. The best you can do is use DATETIME=CURRENT in props.conf.

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...