<?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: Regex - Filtering out unwanted events doesn't work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405012#M167953</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;the regex works fine. Here are a few things to check:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Did you apply the props.conf / transforms.conf on the parsing instance (the first full Splunk instance that receives the events)?&lt;/LI&gt;
&lt;LI&gt;Did you restart that Splunk instance after you applied the props/transforms?&lt;/LI&gt;
&lt;LI&gt;no typo in the sourcetype name?&lt;/LI&gt;
&lt;LI&gt;maybe use &lt;CODE&gt;TRANSFORMS-nullQueue-tcpdenied307-firefox = tcpdenied307-firefox&lt;/CODE&gt; just to make sure the &lt;CODE&gt;&amp;lt;class&amp;gt;&lt;/CODE&gt; is uniq.&lt;/LI&gt;
&lt;LI&gt;it only applies to new data coming in, not historical data&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 21:58:45 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2018-08-09T21:58:45Z</dc:date>
    <item>
      <title>Regex - Filtering out unwanted events doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405011#M167952</link>
      <description>&lt;P&gt;Raw Cisco WSA squid event: &lt;/P&gt;

&lt;P&gt;1533849492.277 0 192.168.1.11 TCP_DENIED/307 0 GET &lt;A href="http://detectportal.firefox.com/success.txt" target="_blank"&gt;http://detectportal.firefox.com/success.txt&lt;/A&gt; - NONE/- - OTHER-NONE-AuthenticatedUsers-NONE-NONE-NONE-NONE &amp;lt;-,-,-,"-",-,-,-,-,"-",-,-,-,"-",-,-,"-","-",-,-,-,-,"-","-","-","-","-","-",0.00,0,-,"-","-",-,"-",-,-,"-","-",-,-,"-"&amp;gt; -&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[cisco:wsa:squid]&lt;BR /&gt;
TRANSFORMS-null = tcpdenied307-firefox&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[tcpdenied307-firefox]&lt;BR /&gt;
REGEX = .+(TCP_DENIED).+(307).+(detectportal.firefox.com).+&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Any ideas why my REGEX doesn't work?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405011#M167952</guid>
      <dc:creator>moey</dc:creator>
      <dc:date>2020-09-29T20:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regex - Filtering out unwanted events doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405012#M167953</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;the regex works fine. Here are a few things to check:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Did you apply the props.conf / transforms.conf on the parsing instance (the first full Splunk instance that receives the events)?&lt;/LI&gt;
&lt;LI&gt;Did you restart that Splunk instance after you applied the props/transforms?&lt;/LI&gt;
&lt;LI&gt;no typo in the sourcetype name?&lt;/LI&gt;
&lt;LI&gt;maybe use &lt;CODE&gt;TRANSFORMS-nullQueue-tcpdenied307-firefox = tcpdenied307-firefox&lt;/CODE&gt; just to make sure the &lt;CODE&gt;&amp;lt;class&amp;gt;&lt;/CODE&gt; is uniq.&lt;/LI&gt;
&lt;LI&gt;it only applies to new data coming in, not historical data&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 21:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405012#M167953</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-08-09T21:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regex - Filtering out unwanted events doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405013#M167954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Yes, I deployed the props and transforms from my master node to my indexers and I can see them.&lt;/LI&gt;
&lt;LI&gt;According to the bundle distribution, I don't need to Splunk indexers.&lt;/LI&gt;
&lt;LI&gt;no typo, we've had successfully filter out unwanted events in the past similar to what I'm trying to do right now&lt;/LI&gt;
&lt;LI&gt;let me try that and see if it makes a difference&lt;/LI&gt;
&lt;LI&gt;yes, i'm still seeing in the new incoming data and it's weird that it's not working. we've done it before.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405013#M167954</guid>
      <dc:creator>moey</dc:creator>
      <dc:date>2018-08-09T22:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regex - Filtering out unwanted events doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405014#M167955</link>
      <description>&lt;P&gt;@moey check file permissions on props.conf and transforms.conf. It should be read only. You can compare file permission with other similar configurations.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-Filtering-out-unwanted-events-doesn-t-work/m-p/405014#M167955</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-08-10T02:30:51Z</dc:date>
    </item>
  </channel>
</rss>

