Splunk Search

What is the rex command to extract my field?

nivethainspire_
Explorer

what is the rex command to extract the below highlighted field.
2015-12-22 22:40:13 ID="87602", Data_Name="sap01 "DDC - PVD - UDB SPP42 (LDTC1)"", Data_Type="DB2"

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try this search query

... | rex field=Data_Name "\s(?<field>[^\s]+)\s(?=\()" | ...
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...