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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...