<?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 address range based on the result of &amp;quot;rex max_match&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607278#M105452</link>
    <description>&lt;P&gt;Thanks, mvfilter works for my case.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 00:29:24 GMT</pubDate>
    <dc:creator>haiweichen</dc:creator>
    <dc:date>2022-07-28T00:29:24Z</dc:date>
    <item>
      <title>How to exclude private ip address range based on the result of "rex max_match"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607275#M105450</link>
      <description>&lt;P&gt;I run this query to extract all IP address from the events. There are multi ip based on one event.&lt;/P&gt;&lt;P&gt;index=*&lt;BR /&gt;| rex max_match=0 field=_raw "(?&amp;lt;ipaddr&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"&lt;BR /&gt;| dedup ipaddr&lt;BR /&gt;| table _time, ipaddr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is as below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 868px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20721i55643CB21389DB8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Capture.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question is, how to exclude private IP from the the result? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 23:59:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607275#M105450</guid>
      <dc:creator>haiweichen</dc:creator>
      <dc:date>2022-07-27T23:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude private ip address range based on the result of "rex max_match"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607277#M105451</link>
      <description>&lt;P&gt;use the &lt;FONT face="courier new,courier"&gt;mvfilter&lt;/FONT&gt; function to remove unwanted values from a multi--value field.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex max_match=0 field=_raw "(?&amp;lt;ipaddr&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"
| eval ipaddr=mvdedup(mvfilter(match(ipaddr,"10\..*")))
| table _time, ipaddr&lt;/LI-CODE&gt;&lt;P&gt;Also, use &lt;FONT face="courier new,courier"&gt;mvdedup&lt;/FONT&gt; instead of &lt;FONT face="courier new,courier"&gt;dedup&lt;/FONT&gt; on multi-value fields.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 00:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607277#M105451</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-28T00:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude private ip address range based on the result of "rex max_match"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607278#M105452</link>
      <description>&lt;P&gt;Thanks, mvfilter works for my case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 00:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-private-ip-address-range-based-on-the-result-of/m-p/607278#M105452</guid>
      <dc:creator>haiweichen</dc:creator>
      <dc:date>2022-07-28T00:29:24Z</dc:date>
    </item>
  </channel>
</rss>

