Splunk Search

How to extract fields and remove quotes from values in a multi-line event?

a212830
Champion

Hi,

I need to do a field extraction on a multi-line event. The values have quotes, and I'm having problems getting the last quotes removed.

Here's the data:

Bandwidth:
ClusterUsage: "0"
LocalUsage: "0"
Name: "IC999 Zenos"

And here's my extraction - it does everything except remove the last quote.
[\r\n]\s*Name:\s*"(?P[^\r\n]*)(?:[\r\n]|$)

0 Karma

kml_uvce
Builder

[rn]s*Name:s*\"(?P[^rn]*)\"(?:[rn]|$)

kamal singh bisht
0 Karma

a212830
Champion

I think the forum stripped out part of the answer. Is there a way to see it in "plain text"

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...