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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

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