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]|$)

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...