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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...