<?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: Whitelist Query in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Whitelist-Query/m-p/548253#M91177</link>
    <description>&lt;P&gt;You can send events that don't match one of those document types to the nullQueue using props/transforms like these:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[&amp;lt;name of relevant sourcetype&amp;gt;]
TRANSFORMS-nullobject=nullobject&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[nullobject]
REGEX=Object\sName:\s+[^\.]+\.(?:(?i)(?:pdf)|(?:doc)|(?:docx))$
DEST_KEY=queue
FORMAT=nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 15:52:44 GMT</pubDate>
    <dc:creator>ericjorgensenjr</dc:creator>
    <dc:date>2021-04-16T15:52:44Z</dc:date>
    <item>
      <title>Whitelist Query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Whitelist-Query/m-p/548225#M91175</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am ingesting file auditing logs to monitor changes to certain files. I am monitoring events 4663 and 4656 which have an Object Name that lists the file path of the accessed file. We are only concerned about .pdf, .doc, and .docx files and would like to filter out any other file type.&lt;/P&gt;&lt;P&gt;Currently I have the below whitelist in place but I am getting stuck trying to figure out how to only ingest certain file types (.pdf, .doc, and .docx) under the Object Name field within the log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;whitelist = 4663,4656&lt;/P&gt;&lt;P&gt;Here is a log 4663 example (I bolded the part we want to filter):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;An attempt was made to access an object.&lt;/P&gt;&lt;P&gt;Subject:&lt;BR /&gt;Security ID: Test User&lt;BR /&gt;Account Name: Test User&lt;BR /&gt;Account Domain: Test&lt;BR /&gt;Logon ID: 12345567&lt;/P&gt;&lt;P&gt;Object:&lt;BR /&gt;Object Server: Security&lt;BR /&gt;Object Type: File&lt;BR /&gt;&lt;STRONG&gt;Object Name: D:\Data\Test\Test.pdf&lt;/STRONG&gt;&lt;BR /&gt;Handle ID: 0x0552&lt;/P&gt;&lt;P&gt;Any help would be great. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 14:35:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Whitelist-Query/m-p/548225#M91175</guid>
      <dc:creator>ryanadamski</dc:creator>
      <dc:date>2021-04-16T14:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Whitelist Query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Whitelist-Query/m-p/548253#M91177</link>
      <description>&lt;P&gt;You can send events that don't match one of those document types to the nullQueue using props/transforms like these:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[&amp;lt;name of relevant sourcetype&amp;gt;]
TRANSFORMS-nullobject=nullobject&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[nullobject]
REGEX=Object\sName:\s+[^\.]+\.(?:(?i)(?:pdf)|(?:doc)|(?:docx))$
DEST_KEY=queue
FORMAT=nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:52:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Whitelist-Query/m-p/548253#M91177</guid>
      <dc:creator>ericjorgensenjr</dc:creator>
      <dc:date>2021-04-16T15:52:44Z</dc:date>
    </item>
  </channel>
</rss>

