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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...