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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...