<?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: Unable to drop windows XML formatted events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/681057#M113797</link>
    <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf#Event_Log_allow_list_and_deny_list_formats" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf#Event_Log_allow_list_and_deny_list_formats&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;  * $XmlRegex: Use this key for filtering when you render Windows Event
    log events in XML by setting the 'renderXml' setting to "true". Search
    the online documentation for "Filter data in XML format with the
    XmlRegex key" for details.&lt;/PRE&gt;&lt;P&gt;Also remember that transforms are not (typically) run on UFs. So your setnull transform is _not_ run if defined on the UF.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 15:29:08 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-03-18T15:29:08Z</dc:date>
    <item>
      <title>Unable to drop windows XML formatted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/680991#M113796</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to filter out XML formatted events and below is sample event and REGEX which we used:&lt;/P&gt;
&lt;P&gt;Sample Events:&lt;/P&gt;
&lt;P&gt;&amp;lt;&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;xmlns=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;&lt;A href="http://schemas.microsoft.com/win/2004/08/events/event" target="_blank" rel="noopener"&gt;http://schemas.microsoft.com/win/2004/08/events/event&lt;/A&gt;&lt;/SPAN&gt;'&amp;gt;&amp;lt;&lt;SPAN class=""&gt;System&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Provider&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;Microsoft-Windows-Security-Auditing&lt;/SPAN&gt;' &lt;SPAN class=""&gt;Guid=&lt;/SPAN&gt;'{&lt;SPAN class=""&gt;54849625-5478-4994-A5BA-3E3B0328C30D&lt;/SPAN&gt;}'&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;EventID&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;4624&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/EventID&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Version&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Version&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Level&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Level&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Task&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;12544&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Task&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Opcode&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Opcode&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Keywords&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;0x8020000000000000&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Keywords&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;TimeCreated&lt;/SPAN&gt; &lt;SPAN class=""&gt;SystemTime=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;2024-03-18T07:29:59.988001100Z&lt;/SPAN&gt;'&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;EventRecordID&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;11295805761&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/EventRecordID&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Correlation/&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Execution&lt;/SPAN&gt; &lt;SPAN class=""&gt;ProcessID=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;796&lt;/SPAN&gt;' &lt;SPAN class=""&gt;ThreadID=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;25576&lt;/SPAN&gt;'&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Channel&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;Security&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Channel&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Computer&lt;/SPAN&gt;&amp;gt;&lt;SPAN class=""&gt;DC01.XXXX.COM&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Computer&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Security/&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;/System&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;EventData&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;SubjectUserSid&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;NULL&lt;/SPAN&gt; &lt;SPAN class=""&gt;SID&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;SubjectUserName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;SubjectDomainName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;SubjectLogonId&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;0x0&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;TargetUserSid&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;UCXXX\XXXDSOD02$&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;TargetUserName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;XXXDSOD02$&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;TargetDomainName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;UCXXX&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;TargetLogonId&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;0x13443956d5&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;LogonType&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;LogonProcessName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;Kerberos&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;AuthenticationPackageName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;Kerberos&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;WorkstationName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;LogonGuid&lt;/SPAN&gt;'&amp;gt;{&lt;SPAN class=""&gt;5517AA4A-D860-6053-03FD-1FE752FC995B&lt;/SPAN&gt;}&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;TransmittedServices&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;LmPackageName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;KeyLength&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;ProcessId&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;0x0&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;ProcessName&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;IpAddress&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;172.X.X.73&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;IpPort&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;53681&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;Data&lt;/SPAN&gt; &lt;SPAN class=""&gt;Name=&lt;/SPAN&gt;'&lt;SPAN class=""&gt;ImpersonationLevel&lt;/SPAN&gt;'&amp;gt;&lt;SPAN class=""&gt;%%1833&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;/Data&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;/EventData&lt;/SPAN&gt;&amp;gt;&amp;lt;&lt;SPAN class=""&gt;/Event&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Regex Implemented in inputs.conf file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;blacklist10 = EventCode="4624" Message="SubjectUserSid:\s+(NULL SID)"
blacklist11 = $xmlRegex="\&amp;lt;EventID\&amp;gt;4624.*\'SubjectUserSid\'\&amp;gt;NULL\sSID\&amp;lt;.+SubjectUserName\'\&amp;gt;\-\&amp;lt;.+SubjectDomainName\'\&amp;gt;\-\&amp;lt;.+SubjectLogonId\'\&amp;gt;0x0\&amp;lt;"
blacklist12 = EventCode="4624" WorkstationName="-"

Props.conf:

TRANSFORMS-null=setnull

Transforms.conf:

[setnull]
SOURCE_KEY = _raw
REGEX = (\&amp;lt;EventID\&amp;gt;4624.+\'SubjectUserSid\'\&amp;gt;NULL\sSID\&amp;lt;.+SubjectUserName\'\&amp;gt;\-\&amp;lt;.+SubjectDomainName\'\&amp;gt;\-\&amp;lt;.+SubjectLogonId\'\&amp;gt;0x0\&amp;lt;)
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please suggest if you have solution for this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Suraj&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 16:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/680991#M113796</guid>
      <dc:creator>Suraj1</dc:creator>
      <dc:date>2026-04-01T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to drop windows XML formatted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/681057#M113797</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf#Event_Log_allow_list_and_deny_list_formats" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf#Event_Log_allow_list_and_deny_list_formats&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;  * $XmlRegex: Use this key for filtering when you render Windows Event
    log events in XML by setting the 'renderXml' setting to "true". Search
    the online documentation for "Filter data in XML format with the
    XmlRegex key" for details.&lt;/PRE&gt;&lt;P&gt;Also remember that transforms are not (typically) run on UFs. So your setnull transform is _not_ run if defined on the UF.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 15:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/681057#M113797</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-18T15:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to drop windows XML formatted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/681159#M113798</link>
      <description>&lt;P&gt;Dear Karma,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried to use the suggested option.&lt;/P&gt;&lt;P&gt;Can you please guide us where to update the file as we suspect on location where we writing Regex.&lt;/P&gt;&lt;P&gt;Currently, we have updated windows folder on deployment server and /etc/system/local/ directory on HF level.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 10:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-drop-windows-XML-formatted-events/m-p/681159#M113798</guid>
      <dc:creator>Suraj1</dc:creator>
      <dc:date>2024-03-19T10:02:56Z</dc:date>
    </item>
  </channel>
</rss>

