<?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: do not index events using props/transforms regex help in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/505338#M86103</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would try to use some regex like this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^.+screenconnect\.techmedia\.com\.au.+$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested it using Regex101 (&lt;A href="https://regex101.com/r/gHJVDp/2" target="_blank" rel="noopener"&gt;https://regex101.com/r/gHJVDp/2&lt;/A&gt;), with the URLs below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;screenconnect.techmedia.com.au
screenconnect2.techmedia.com.au
screenconnect.techmedia10.com.au&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I also recommend you to test this regex (and any other you build or find) in a dev environment, before using it in your production transforms.conf file.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jun 2020 14:25:06 GMT</pubDate>
    <dc:creator>alonsocaio</dc:creator>
    <dc:date>2020-06-20T14:25:06Z</dc:date>
    <item>
      <title>do not index events using props/transforms regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/504031#M85946</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;A recent agent install across our infrastructure has created a flood in the proxy logs of blocked messages which is blowing out our license.&lt;/P&gt;&lt;P&gt;Until there is a proper fix I need to stop ingesting events related to 1 URL.&lt;/P&gt;&lt;P&gt;I think&amp;nbsp; I just need help with the REGEX part.&lt;/P&gt;&lt;P&gt;Log are dropped to a syslog server running a heavy forwarder, then we run a monitor on that log file.&lt;/P&gt;&lt;P&gt;Inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///remotesyslogs/mgmt-austaiaecho00*/*.log]
disabled = false
index = star_proxy
sourcetype = cisco:wsa:squid&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[cisco:wsa:squid]
TRANSFORMS-screen=eliminate-screenconnect&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[eliminate-screenconnect]
REGEX = ?.=screenconnect
DEST_KEYi = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example event from log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-06-12T04:04:55+10:00 mgmt-austaiaecho005.casino.internal accesslogs_splunk: Info: 1591898695.320 0 10.10.216.100 TCP_DENIED/407 0 CONNECT tunnel://screenconnect.techmedia.com.au:8080/ - NONE/- - OTHER-NONE-DefaultGroup-NONE-NONE-NONE-NONE &amp;lt;-,-,-,"-",-,-,-,-,"-",-,-,-,"-",-,-,"-","-",-,-,-,-,"-","-","-","-","-","-",0.00,0,-,"-","-",-,"-",-,-,"-","-",-,-,"-"&amp;gt; - - "12/Jun/2020:04:04:55 +1000" -&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically for next 4 weeks I need to drop all events with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; screenconnect.techmedia.com.au&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 02:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/504031#M85946</guid>
      <dc:creator>mjm295</dc:creator>
      <dc:date>2020-06-12T02:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: do not index events using props/transforms regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/505338#M86103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would try to use some regex like this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^.+screenconnect\.techmedia\.com\.au.+$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested it using Regex101 (&lt;A href="https://regex101.com/r/gHJVDp/2" target="_blank" rel="noopener"&gt;https://regex101.com/r/gHJVDp/2&lt;/A&gt;), with the URLs below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;screenconnect.techmedia.com.au
screenconnect2.techmedia.com.au
screenconnect.techmedia10.com.au&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I also recommend you to test this regex (and any other you build or find) in a dev environment, before using it in your production transforms.conf file.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 14:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/505338#M86103</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2020-06-20T14:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: do not index events using props/transforms regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/505364#M86109</link>
      <description>&lt;LI-CODE lang="markup"&gt;[eliminate-screenconnect]
REGEX = screenconnect\.techmedia\.com\.au
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;A simple REGEX is enough for nullQueue.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 01:02:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/do-not-index-events-using-props-transforms-regex-help/m-p/505364#M86109</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-06-21T01:02:18Z</dc:date>
    </item>
  </channel>
</rss>

