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
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...