<?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 Splunk Forwarder $xmlregex in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-xmlregex/m-p/677547#M113273</link>
    <description>&lt;P&gt;I'm looking for support on my $xmlregex Blacklist. I have checked as many previous tickets as I can and I'm still stuck.&lt;/P&gt;&lt;P&gt;It works when I put the events into regex101 which is why I'm so confused.&lt;/P&gt;&lt;P&gt;This is what I have ended up with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLog://Microsoft-Windows-PowerShell/Operational]
disabled = 0
start_from = oldest
renderXml = 1
# 4100 Error Log | 4104 Script Block
whitelist = 4104,4100
blacklist  = $xmlRegex= $\&amp;lt;EventID\&amp;gt;(?:4104|4100)\&amp;lt;\/EventID\&amp;gt;.*\&amp;lt;Data\sName='ScriptBlockText'\&amp;gt;[\S\s]*[C-Z]:\\Program(?:\sFiles|Data)(\s\(x86\))?\\(?:qualys|Nexthink|uniFLOW\sSmartClient)\\$
blacklist1 = $xmlRegex= $\&amp;lt;EventID\&amp;gt;(?:4104|4100)\&amp;lt;\/EventID\&amp;gt;.*\&amp;lt;Data\sName='ScriptBlockText'\&amp;gt;[\S\s]*[C-Z]:\\Windows\\ccm\\$&lt;/LI-CODE&gt;&lt;P&gt;I've had to use [\S\s]* because the it's a PowerShell script which has carriage returns in.&lt;/P&gt;&lt;P&gt;Any help would be massively appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 11:51:04 GMT</pubDate>
    <dc:creator>ashketchum</dc:creator>
    <dc:date>2024-02-14T11:51:04Z</dc:date>
    <item>
      <title>Splunk Forwarder $xmlregex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-xmlregex/m-p/677547#M113273</link>
      <description>&lt;P&gt;I'm looking for support on my $xmlregex Blacklist. I have checked as many previous tickets as I can and I'm still stuck.&lt;/P&gt;&lt;P&gt;It works when I put the events into regex101 which is why I'm so confused.&lt;/P&gt;&lt;P&gt;This is what I have ended up with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLog://Microsoft-Windows-PowerShell/Operational]
disabled = 0
start_from = oldest
renderXml = 1
# 4100 Error Log | 4104 Script Block
whitelist = 4104,4100
blacklist  = $xmlRegex= $\&amp;lt;EventID\&amp;gt;(?:4104|4100)\&amp;lt;\/EventID\&amp;gt;.*\&amp;lt;Data\sName='ScriptBlockText'\&amp;gt;[\S\s]*[C-Z]:\\Program(?:\sFiles|Data)(\s\(x86\))?\\(?:qualys|Nexthink|uniFLOW\sSmartClient)\\$
blacklist1 = $xmlRegex= $\&amp;lt;EventID\&amp;gt;(?:4104|4100)\&amp;lt;\/EventID\&amp;gt;.*\&amp;lt;Data\sName='ScriptBlockText'\&amp;gt;[\S\s]*[C-Z]:\\Windows\\ccm\\$&lt;/LI-CODE&gt;&lt;P&gt;I've had to use [\S\s]* because the it's a PowerShell script which has carriage returns in.&lt;/P&gt;&lt;P&gt;Any help would be massively appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-xmlregex/m-p/677547#M113273</guid>
      <dc:creator>ashketchum</dc:creator>
      <dc:date>2024-02-14T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder $xmlregex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-xmlregex/m-p/740796#M117758</link>
      <description>&lt;P&gt;Have you tried not escaping the &amp;lt; and &amp;gt; chars ?&lt;/P&gt;&lt;P&gt;I've read somewhere escaping a non-special char might not work here.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 16:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-xmlregex/m-p/740796#M117758</guid>
      <dc:creator>lar06</dc:creator>
      <dc:date>2025-03-04T16:51:51Z</dc:date>
    </item>
  </channel>
</rss>

