<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Addon for Service Now - Filter Parameters in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/654405#M9765</link>
    <description>&lt;P&gt;Looking into this now ... I have dumped a sample of every single table and trying to figure out the API and filters as we have null values for like 90% of our asssets in SNOW so I need to filterout and some how bind IP &amp;lt;&amp;gt; Owner .. some notes ...&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;roll thouth all the tgables "get the table names in the UI by going to report crate page ... and looking at the source 

curl -s -H "Accept: application/json" -u "XXXXXXXXXXXXXX:XXXXXXXX" "https://YOURCOMPANEYNAME.service-now.com/api/now/table/${i}?sysparm_display_value=all&amp;amp;sysparm_offset=${j}&amp;amp;sysparm_limit=1000" -o "${i}_out${j}.json"

look for non null values for each key ? ( for me YMMV )
grep -E "(\bip.address\b|\bsupport.group\b|owned_by\b|\bsys_class_name\b|\blocation\b|\bsys_class_name\b|\bdns_domain\b|\bsys_domain\b|\bfqdn\b|\bbusines_criticality\b|\bclass_name\b|\boperational_status\b|\bcreated_by\b|\bassignment_group\b|\bassigned_to\b|\bsvc_service_id\b)" Pretty_* -A 1


Working on filtering like &amp;amp;not%20owned_by="" or something .. I have no idea hopfuly sometihng on github that uses this API with filtering so ill post or mesg me 

- rmccurdy.com&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 15 Aug 2023 20:04:08 GMT</pubDate>
    <dc:creator>RMcCurdyDOTcom</dc:creator>
    <dc:date>2023-08-15T20:04:08Z</dc:date>
    <item>
      <title>Splunk Addon for Service Now - Filter Parameters</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/521253#M4478</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;A few questions pertaining the Splunk Addon for ServiceNow&lt;/P&gt;&lt;P&gt;Context: We are trying to setup exclusion filter parameters to ingest only selective data from certain tables from our SNow instance.&lt;/P&gt;&lt;P&gt;The documentation at present is not very comprehensive with examples of how to do what we need.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Configureinputs" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/AddOns/released/ServiceNow/Configureinputs&lt;/A&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Filter parameters&lt;/TD&gt;&lt;TD&gt;Enter filters, in key-value pairs for indexing selected data from the table. For example, key1=value1&amp;amp;key2=value2. By default, there is no filter.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the questions.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do we add exclusion filters&amp;nbsp; For example sys_id!=abc. I tried using ! but doesn't appear to be working&lt;/LI&gt;&lt;LI&gt;Do multiple filters have to be separated by &amp;amp; or , or AND.&lt;/LI&gt;&lt;LI&gt;How do we encode values with spaces. For instance, let's say we are trying to apply a filter sys_id=abc def. Should that be sys_id="abc def" OR as is without spaces. I checked the debug log and the TA seems to be URL encoding spaces with a + but would be worth if that is confirmed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At present, it appears as thought the above tested filters are being ignored.&lt;/P&gt;&lt;P&gt;Appreciate any inputs. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 11:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/521253#M4478</guid>
      <dc:creator>vik_splunk</dc:creator>
      <dc:date>2020-09-24T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Addon for Service Now - Filter Parameters</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/624200#M9244</link>
      <description>&lt;P&gt;I also same kind of issues .&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/77176"&gt;@vik_splunk&lt;/a&gt;&amp;nbsp; Do you found a solution for this ?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 08:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/624200#M9244</guid>
      <dc:creator>ddvali</dc:creator>
      <dc:date>2022-12-14T08:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Addon for Service Now - Filter Parameters</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/654405#M9765</link>
      <description>&lt;P&gt;Looking into this now ... I have dumped a sample of every single table and trying to figure out the API and filters as we have null values for like 90% of our asssets in SNOW so I need to filterout and some how bind IP &amp;lt;&amp;gt; Owner .. some notes ...&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;roll thouth all the tgables "get the table names in the UI by going to report crate page ... and looking at the source 

curl -s -H "Accept: application/json" -u "XXXXXXXXXXXXXX:XXXXXXXX" "https://YOURCOMPANEYNAME.service-now.com/api/now/table/${i}?sysparm_display_value=all&amp;amp;sysparm_offset=${j}&amp;amp;sysparm_limit=1000" -o "${i}_out${j}.json"

look for non null values for each key ? ( for me YMMV )
grep -E "(\bip.address\b|\bsupport.group\b|owned_by\b|\bsys_class_name\b|\blocation\b|\bsys_class_name\b|\bdns_domain\b|\bsys_domain\b|\bfqdn\b|\bbusines_criticality\b|\bclass_name\b|\boperational_status\b|\bcreated_by\b|\bassignment_group\b|\bassigned_to\b|\bsvc_service_id\b)" Pretty_* -A 1


Working on filtering like &amp;amp;not%20owned_by="" or something .. I have no idea hopfuly sometihng on github that uses this API with filtering so ill post or mesg me 

- rmccurdy.com&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Aug 2023 20:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Addon-for-Service-Now-Filter-Parameters/m-p/654405#M9765</guid>
      <dc:creator>RMcCurdyDOTcom</dc:creator>
      <dc:date>2023-08-15T20:04:08Z</dc:date>
    </item>
  </channel>
</rss>

