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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...