Splunk Search

How to Extract Named Capture Groups Using a Single Line in Props.conf

Kcrowley55
New Member

Trying to extract named capture groups in a txt file, with the stipulation that it must be done from a single line in props.conf. The exercise is designed to teach how to assign many fields/values in a single line of RegEx.

There are around 20 or so fields we need to extract from the txt file (all the fields are outlined a single "event" in the text file along with the accompanying values in the next "event:). We are assuming that some form of EXTRACT will be used in props, but just not sure how to format in a single line. Any help or guidance would be much appreciated!

Tags (1)
0 Karma

somesoni2
Revered Legend

Please share some sample log entries from which you want to extract fields. Mask anything sensitive.

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...