Splunk Search

Why am I getting an error message when using Wildcard for file based lookup?

sylim_splunk
Splunk Employee
Splunk Employee

I'm trying to use WILDCARD for file based lookup and get an error message, "match_type is malformed" as below - According to the descriptions in UI page, I'm using WILDCARD(A*, B*,..) and get the error.

Optionally set up non-exact matching of a comma-and-space-delimited field list. Format is (, ,...). Available values for match_type are WILDCARD and CIDR.

alt text

0 Karma
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

This is a UI bug and will be corrected.
Correct way for match_type for multiple fields is like, WILDCARD(A*), WILDCARD(B*) as described in spec.

match_type =
A comma and space-delimited list of < match_type >(< field_name >)
specification to allow for non-exact matching
The available match_type values are WILDCARD, CIDR, and EXACT. EXACT is
the default and does not need to be specified. Only fields that should
use WILDCARD or CIDR matching should be specified in this list

View solution in original post

0 Karma

sylim_splunk
Splunk Employee
Splunk Employee

This is a UI bug and will be corrected.
Correct way for match_type for multiple fields is like, WILDCARD(A*), WILDCARD(B*) as described in spec.

match_type =
A comma and space-delimited list of < match_type >(< field_name >)
specification to allow for non-exact matching
The available match_type values are WILDCARD, CIDR, and EXACT. EXACT is
the default and does not need to be specified. Only fields that should
use WILDCARD or CIDR matching should be specified in this list

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...