Splunk Search

How to extract data from event?

mrchariybrown
New Member

I have a bunch of events and within the events, I have the following:

"Back Garage took Time In MilliSeconds: 1621 In Seconds ::1 to refresh the Image"

I need to extract the "1621" (milliseconds) from the event raw data.

And then I need to put in into a line graph in splunk.

I'm obviously very new to this but I was asked to help on this from a manager.

Please help~

0 Karma

aalanisr26
Path Finder
|rex field=_raw "MilliSeconds:\s(?<myvalue>\d+)\s"|table myvalue
0 Karma

mrchariybrown
New Member

Thank you!!!! 😄

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...