Splunk Search

Single line of regex to extract multiple fields

token1
Explorer

I've seen the TA Unified2 do this, one single line of regex pulling all relevant fields from snort logs.  I'm wanting to do the same thing for some NetApp logs I have:

The regex101 URL is:  https://regex101.com/r/zlhxN9/1/

It has pretty good test data.  The first line is a very typical format.  The second line has a doozy, when an operation is carried out there is a field between the "::" delimitators that is further broken up with "<>" delimitators. 

I'm at a loss here as you can see in the regex101 URL.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

I am not sure what the question is here. Please can you explain further?

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...