<?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 ServiceNow Inputs.conf Filter Data by field value in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580063#M102359</link>
    <description>&lt;P&gt;We use the Splunk ServiceNow TA - both on collecting data from ServiceNow and creating incidents via the Splunk alert action.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have use case on the collection side. Within the inputs.conf there is attribute available call filter_data. This allows you to filter on the data you wish/not wish to collect from ServiceNow. The specific use case is where we do &lt;STRONG&gt;NOT&lt;/STRONG&gt; want to collect events from &lt;STRONG&gt;sys_audit&lt;/STRONG&gt; table if&amp;nbsp;&lt;STRONG&gt;sys_created_by&lt;/STRONG&gt;=&lt;STRONG&gt;user. System&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic stanza attributes in inputs.conf within the Snow TA&amp;nbsp; is this:&lt;/P&gt;&lt;P&gt;[snow://sys_audit]&lt;BR /&gt;filter_data = sys_created_by!=user.system&lt;BR /&gt;table = sys_audit&lt;/P&gt;&lt;P&gt;This approach does not filter sys_created_by, that is, we still see user.system as sys_created_by in our events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I'm doing wrong? Thx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 23:45:58 GMT</pubDate>
    <dc:creator>brdr</dc:creator>
    <dc:date>2022-01-05T23:45:58Z</dc:date>
    <item>
      <title>ServiceNow Inputs.conf Filter Data by field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580063#M102359</link>
      <description>&lt;P&gt;We use the Splunk ServiceNow TA - both on collecting data from ServiceNow and creating incidents via the Splunk alert action.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have use case on the collection side. Within the inputs.conf there is attribute available call filter_data. This allows you to filter on the data you wish/not wish to collect from ServiceNow. The specific use case is where we do &lt;STRONG&gt;NOT&lt;/STRONG&gt; want to collect events from &lt;STRONG&gt;sys_audit&lt;/STRONG&gt; table if&amp;nbsp;&lt;STRONG&gt;sys_created_by&lt;/STRONG&gt;=&lt;STRONG&gt;user. System&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic stanza attributes in inputs.conf within the Snow TA&amp;nbsp; is this:&lt;/P&gt;&lt;P&gt;[snow://sys_audit]&lt;BR /&gt;filter_data = sys_created_by!=user.system&lt;BR /&gt;table = sys_audit&lt;/P&gt;&lt;P&gt;This approach does not filter sys_created_by, that is, we still see user.system as sys_created_by in our events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I'm doing wrong? Thx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 23:45:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580063#M102359</guid>
      <dc:creator>brdr</dc:creator>
      <dc:date>2022-01-05T23:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceNow Inputs.conf Filter Data by field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580066#M102360</link>
      <description>&lt;P&gt;The filter only support inclusion but not exclusion. That means you can specify it to only collect events matching the filter.&lt;/P&gt;&lt;P&gt;You can setup SEDMD to drop the event to prevent it from being indexed.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 00:42:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580066#M102360</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-01-06T00:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceNow Inputs.conf Filter Data by field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580135#M102362</link>
      <description>&lt;P&gt;Thank you Johnhua for the note about inclusion vs. exclusion. Although i think SEDCMD might work we have decided to go with dropping the event into null queue using props and transforms. Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 15:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ServiceNow-Inputs-conf-Filter-Data-by-field-value/m-p/580135#M102362</guid>
      <dc:creator>brdr</dc:creator>
      <dc:date>2022-01-06T15:33:21Z</dc:date>
    </item>
  </channel>
</rss>

