<?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 Drop XML event data via transforms.conf in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drop-XML-event-data-via-transforms-conf/m-p/670606#M229873</link>
    <description>&lt;P&gt;I need to drop EventCode 4634 and 4624 with Login_type 3, how i can use nullqueue option and write the correct REGEX on transforms.conf .&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 09:23:26 GMT</pubDate>
    <dc:creator>mjemi</dc:creator>
    <dc:date>2023-12-04T09:23:26Z</dc:date>
    <item>
      <title>Drop XML event data via transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-XML-event-data-via-transforms-conf/m-p/670606#M229873</link>
      <description>&lt;P&gt;I need to drop EventCode 4634 and 4624 with Login_type 3, how i can use nullqueue option and write the correct REGEX on transforms.conf .&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 09:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-XML-event-data-via-transforms-conf/m-p/670606#M229873</guid>
      <dc:creator>mjemi</dc:creator>
      <dc:date>2023-12-04T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Drop XML event data via transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-XML-event-data-via-transforms-conf/m-p/670738#M229906</link>
      <description>&lt;P&gt;Let's assume your sourcetype is called&amp;nbsp;&lt;EM&gt;WindowsEventSourcetype&lt;/EM&gt;, then you will want to add some lines to that sourcetype's definition in props.conf and transforms.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[WindowsEventSourcetype]
TRANSFORMS-t1=eliminate-4624-4634-3&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[eliminate-4624-4634-3]
REGEX=(?m)EventCode\s*=\s*(4624|4634).*?Type\s*=\s*3\s
DEST_KEY=queue
FORMAT=nullQueue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;A couple things to note:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;These configurations need to be deployed to where your data is "cooked" by Splunk, not searched or the UF.&amp;nbsp; So this means these should be going to Heavy Forwarder(s) and Indexer(s) in your environment that would be ingesting this windows event log data.&lt;/LI&gt;&lt;LI&gt;I might be slightly off on the regular expression - I can't recall the exact format of the logs.&amp;nbsp; If you could post a couple samples I could tighten this up.&amp;nbsp; Right now the regex is doing something like, "Use multiline mode, look for EventCodes 4624 or 4634, then some more stuff, then Type 3" - I don't recall how the Login_type is labeled within these particular events from Windows.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 05 Dec 2023 00:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-XML-event-data-via-transforms-conf/m-p/670738#M229906</guid>
      <dc:creator>_JP</dc:creator>
      <dc:date>2023-12-05T00:39:37Z</dc:date>
    </item>
  </channel>
</rss>

