All Apps and Add-ons

Splunk ServiceNow TA inputs filter not working as expected

sylim_splunk
Splunk Employee
Splunk Employee

We are trying to setup a sysevent filter for the name attributre. We have more than 1 name attribute and have setup the filter like this:
filter_data = name=login&name=logout&name=login.failed&name=impersonation.start&name=impersonation.end&name=security.elevated_role.enabled&name=security.elevated_role.disabled

But, it doesn't work as expected.

The issue we saw appears to be that you can’t specify multiple values for the same column name using the &. So name=login&parm1=myid works but name=login&name=logout (repeating the same column multiple times) does not. The url would need to specify a list of values for the name column instead of repeating it.

What is the proper syntax for adding the filters?

Labels (1)
0 Karma
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

As of this writing, the filter implementation only support "&(AND)" operator and no OR. This poses a limit in various use-cases.

According to the doc, https://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Configureinputs which gives us hints that it accepts different key names in the filter.
{ Enter filters, in key-value pairs for indexing selected data from the table. For example, key1=value1&key2=value2. By default, there is no filter. }

You may want to share your ideas and concerns via https://ideas.splunk.com .
Hope it helps.

View solution in original post

0 Karma

sylim_splunk
Splunk Employee
Splunk Employee

As of this writing, the filter implementation only support "&(AND)" operator and no OR. This poses a limit in various use-cases.

According to the doc, https://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Configureinputs which gives us hints that it accepts different key names in the filter.
{ Enter filters, in key-value pairs for indexing selected data from the table. For example, key1=value1&key2=value2. By default, there is no filter. }

You may want to share your ideas and concerns via https://ideas.splunk.com .
Hope it helps.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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