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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...