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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...