<?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 Nullqueue Windows Paths Regex in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Nullqueue-Windows-Paths-Regex/m-p/501703#M85483</link>
    <description>&lt;P&gt;Trying to send all events with this contained to nullqueue:&lt;/P&gt;

&lt;P&gt;Host Application = C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell.exe -NoLogo -Noninteractive -NoProfile -ExecutionPolicy Bypass &amp;amp; 'C:\WINDOWS\CCM\SystemTemp\02160779-88dd-4e84-96cc-7a1313cd97d9.ps1'&lt;/P&gt;

&lt;P&gt;Here are my props &amp;amp; transforms entries:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Splunk-PowerShell]
TRANSFORMS-suppress-ps = suppress-powershell

[suppress-powershell]
REGEX=^Host\s?Application\s?=\s?C:\\WINDOWS\\system32\\WindowsPowerShell\\v1\.0\\PowerShell\.exe\s-NoLogo\s-Noninteractive\s-NoProfile\s-ExecutionPolicy\sBypass\s&amp;amp;\s'C:\\WINDOWS\\CCM\\SystemTemp\\[\d\w]{8}-[\d\w]{4}-[\d\w]{4}-[\d\w]{4}-[\d\w]{12}\.ps1'(\sFalse)?
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Matches when I use regex checkers like regexr. I've seen people suggest both double backslash and four backslashes for escaping, not sure which is appropriate for transforms. Using the four backslashes and the regex command in the search does work, but I need these events filtered out of indexing. I'd also like to use (?i) as a modifier for case insensitivity, but I need to get this part working first. &lt;/P&gt;</description>
    <pubDate>Sat, 01 Feb 2020 00:19:16 GMT</pubDate>
    <dc:creator>gclaytontmwa</dc:creator>
    <dc:date>2020-02-01T00:19:16Z</dc:date>
    <item>
      <title>Nullqueue Windows Paths Regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Nullqueue-Windows-Paths-Regex/m-p/501703#M85483</link>
      <description>&lt;P&gt;Trying to send all events with this contained to nullqueue:&lt;/P&gt;

&lt;P&gt;Host Application = C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell.exe -NoLogo -Noninteractive -NoProfile -ExecutionPolicy Bypass &amp;amp; 'C:\WINDOWS\CCM\SystemTemp\02160779-88dd-4e84-96cc-7a1313cd97d9.ps1'&lt;/P&gt;

&lt;P&gt;Here are my props &amp;amp; transforms entries:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Splunk-PowerShell]
TRANSFORMS-suppress-ps = suppress-powershell

[suppress-powershell]
REGEX=^Host\s?Application\s?=\s?C:\\WINDOWS\\system32\\WindowsPowerShell\\v1\.0\\PowerShell\.exe\s-NoLogo\s-Noninteractive\s-NoProfile\s-ExecutionPolicy\sBypass\s&amp;amp;\s'C:\\WINDOWS\\CCM\\SystemTemp\\[\d\w]{8}-[\d\w]{4}-[\d\w]{4}-[\d\w]{4}-[\d\w]{12}\.ps1'(\sFalse)?
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Matches when I use regex checkers like regexr. I've seen people suggest both double backslash and four backslashes for escaping, not sure which is appropriate for transforms. Using the four backslashes and the regex command in the search does work, but I need these events filtered out of indexing. I'd also like to use (?i) as a modifier for case insensitivity, but I need to get this part working first. &lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 00:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Nullqueue-Windows-Paths-Regex/m-p/501703#M85483</guid>
      <dc:creator>gclaytontmwa</dc:creator>
      <dc:date>2020-02-01T00:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nullqueue Windows Paths Regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Nullqueue-Windows-Paths-Regex/m-p/501704#M85484</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;(?i)^Host\s?Application\s?=\s?C:.WINDOWS.system32.WindowsPowerShell.v1\.0.PowerShell\.exe\s-NoLogo\s-Noninteractive\s-NoProfile\s-ExecutionPolicy\sBypass\s&amp;amp;\s'C:.WINDOWS.CCM.SystemTemp.\w{8}-\w{4}-\w{4}-\w{4}-\w{12}\.ps1'(\sFalse)?
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;\ 　⇨　.&lt;/CODE&gt;　 If backslash behavior is a problem.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 17:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Nullqueue-Windows-Paths-Regex/m-p/501704#M85484</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-01T17:27:26Z</dc:date>
    </item>
  </channel>
</rss>

