<?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 IPv6 subnet as search parameter does not work (but IPv4 does!) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30076#M6098</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Let's say I'm trying to search for events where src_ip field matches some subnet:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search index=myindex src_ip="1.2.0.0/16"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works perfectly. Now I want to run a similar search, but for IPv6 subnet:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search index=myindex src_ip6="1234:5678::/32"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This does NOT work. However, cidrmatch() function in "where" command works for both IPv4 and IPv6, so I consider search behaviour described above to be a bug.&lt;BR /&gt;
Is this a known issue for Splunk developers? Is there a way to workaround this without using cidrmatch()?&lt;/P&gt;

&lt;P&gt;P.S. Is it OK to report bugs here at splunkbase? I didn't found the Splunk bugtracker...&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2013 07:31:40 GMT</pubDate>
    <dc:creator>npichugin</dc:creator>
    <dc:date>2013-08-09T07:31:40Z</dc:date>
    <item>
      <title>IPv6 subnet as search parameter does not work (but IPv4 does!)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30076#M6098</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Let's say I'm trying to search for events where src_ip field matches some subnet:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search index=myindex src_ip="1.2.0.0/16"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works perfectly. Now I want to run a similar search, but for IPv6 subnet:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search index=myindex src_ip6="1234:5678::/32"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This does NOT work. However, cidrmatch() function in "where" command works for both IPv4 and IPv6, so I consider search behaviour described above to be a bug.&lt;BR /&gt;
Is this a known issue for Splunk developers? Is there a way to workaround this without using cidrmatch()?&lt;/P&gt;

&lt;P&gt;P.S. Is it OK to report bugs here at splunkbase? I didn't found the Splunk bugtracker...&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 07:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30076#M6098</guid>
      <dc:creator>npichugin</dc:creator>
      <dc:date>2013-08-09T07:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 subnet as search parameter does not work (but IPv4 does!)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30077#M6099</link>
      <description>&lt;P&gt;Reporting suspected bugs here is quite okay, the more direct approach would be to submit a case here: &lt;A href="https://www.splunk.com/page/submit_issue"&gt;https://www.splunk.com/page/submit_issue&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 09:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30077#M6099</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-08-09T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 subnet as search parameter does not work (but IPv4 does!)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30078#M6100</link>
      <description>&lt;P&gt;Thank you very much! I'll file this issue there.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 09:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30078#M6100</guid>
      <dc:creator>npichugin</dc:creator>
      <dc:date>2013-08-09T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 subnet as search parameter does not work (but IPv4 does!)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30079#M6101</link>
      <description>&lt;P&gt;While lookups and the cidrmatch function work with IPv6 CIDR notation, a direct search (similar to your first one with IPv4) does not. It is a known internal requirement that will be tentatively solved in a future release.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2013 01:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30079#M6101</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2013-08-25T01:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 subnet as search parameter does not work (but IPv4 does!)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30080#M6102</link>
      <description>&lt;P&gt;Thanks for clarifying!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2013 06:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IPv6-subnet-as-search-parameter-does-not-work-but-IPv4-does/m-p/30080#M6102</guid>
      <dc:creator>npichugin</dc:creator>
      <dc:date>2013-08-26T06:23:36Z</dc:date>
    </item>
  </channel>
</rss>

