<?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: How to Exclude private IP range from transforms in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533689#M150813</link>
    <description>&lt;P&gt;its excluding all traffic/dst IP's&lt;BR /&gt;besides 10 its also considering 101 too in th eprivate ip address range&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 05:19:33 GMT</pubDate>
    <dc:creator>neelamsantosh</dc:creator>
    <dc:date>2020-12-21T05:19:33Z</dc:date>
    <item>
      <title>How to Exclude private IP range from transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533664#M150806</link>
      <description>&lt;P&gt;I want to exclude the&amp;nbsp;(dst="10.0.0.0/8" OR dst="172.16.0.0/12" OR dst="192.168.0.0/16")&amp;nbsp; IP ranges.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my configurations:&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;TRANSFORMS-null = internal_Logs10, internal_Logs172, internal_Logs192&lt;/P&gt;&lt;P&gt;Transforms.conf:&lt;/P&gt;&lt;P&gt;[internal_Logs10]&lt;BR /&gt;REGEX = dst\=10\.0\.0\.0\/8&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[internal_Logs172]&lt;BR /&gt;REGEX = dst\=172\.16\.0\.0\/12&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[internal_Logs192]&lt;BR /&gt;REGEX = dst=192\.168\.0\.0\/16&lt;BR /&gt;#REGEX = dst=192\.168\.5.*&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works perfectly for 192.168.5.* but not for subnet range.&lt;BR /&gt;&lt;BR /&gt;kindly share or assist with configuration around the same.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 06:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533664#M150806</guid>
      <dc:creator>neelamsantosh</dc:creator>
      <dc:date>2020-12-21T06:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude private IP range from transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533665#M150807</link>
      <description>&lt;P&gt;Splunk will not perform CIDR matches against regular expressions.&lt;/P&gt;&lt;P&gt;You will need to construct your regex to match the range of addresses you need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(10\.)
(172\.1[6-9]\.)|(172\.2[0-9]\.)|(172\.3[0-1]\.)
(192\.168\.)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But you should be able to do this in one stanza if you wish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[internal_IPs]
REGEX = dst\=((?:10\.)|(?:172\.1[6-9]\.)|(?:172\.2[0-9]\.)|(?:172\.3[0-1]\.)|(?:192\.168\.)).+
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 09:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533665#M150807</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-21T09:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude private IP range from transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533689#M150813</link>
      <description>&lt;P&gt;its excluding all traffic/dst IP's&lt;BR /&gt;besides 10 its also considering 101 too in th eprivate ip address range&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 05:19:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533689#M150813</guid>
      <dc:creator>neelamsantosh</dc:creator>
      <dc:date>2020-12-21T05:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude private IP range from transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533712#M150818</link>
      <description>&lt;P&gt;I made a minor change to the answer above, but I can not reproduce the scenario you describe.&lt;/P&gt;&lt;P&gt;&lt;A href="https://regex101.com/r/FXD0Q4/2" target="_blank" rel="noopener"&gt;https://regex101.com/r/FXD0Q4/2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 09:18:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Exclude-private-IP-range-from-transforms/m-p/533712#M150818</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-21T09:18:29Z</dc:date>
    </item>
  </channel>
</rss>

