Knowledge Management

Eventtype Definition: Search by Field Value length

gpburgett
Splunk Employee
Splunk Employee

Similarly, I want to make a group/eventtype of events from a certain sourcetype where the LOGINID values are all 12 characters long. I can get these events out using pipes and regexes, but then eventtypes does not accept search queries with pipes. Is there a way to extract the LOGINID length as a seperate field that I can use to search on in my eventtype query?

Tags (1)
0 Karma
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

As in http://answers.splunk.com/questions/10145/case-sensitivity-in-eventtype-searches/10197#10197, you should be able to coerce your regex to extract fields that are only of a certain length.

View solution in original post

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

As in http://answers.splunk.com/questions/10145/case-sensitivity-in-eventtype-searches/10197#10197, you should be able to coerce your regex to extract fields that are only of a certain length.

0 Karma
Get Updates on the Splunk Community!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...