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!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...