<?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: Why is the CIDR search on accelerated data failing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365087#M107679</link>
    <description>&lt;P&gt;For me CIDR filters on Splunk 7.3.3 fail. For example the query below should list only destinations which are IP's:&lt;/P&gt;

&lt;P&gt;| tstats values(Web.dest) as dest from datamodel=Web where Web.dest="0.0.0.0/0"&lt;/P&gt;

&lt;P&gt;However it just lists all kind of values.&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 09:25:29 GMT</pubDate>
    <dc:creator>abpe</dc:creator>
    <dc:date>2020-05-12T09:25:29Z</dc:date>
    <item>
      <title>Why is the CIDR search on accelerated data failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365083#M107675</link>
      <description>&lt;P&gt;When I run my &lt;CODE&gt;tstat&lt;/CODE&gt; including a CIDR filter with &lt;CODE&gt;summariesonly=T&lt;/CODE&gt; I got no result, while setting the parameter to false will give me my results:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Fails: &lt;CODE&gt;| tstats summariesonly=T  count from datamodel=Network_Traffic.All_Traffic where All_Traffic.dest=10.0.0.0/8 by All_Traffic.dest&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Works: &lt;CODE&gt;| tstats summariesonly=F  count from datamodel=Network_Traffic.All_Traffic where All_Traffic.dest=10.0.0.0/8 by All_Traffic.dest&lt;/CODE&gt; but it's obviously slow&lt;/LI&gt;
&lt;LI&gt;Works: &lt;CODE&gt;| tstats summariesonly=T  count from datamodel=Network_Traffic.All_Traffic where All_Traffic.dest=10.* by All_Traffic.dest&lt;/CODE&gt; where I'm using wildcard instead of CIDR.
NB: Datamodel is accelerated at 100%
NB2: I testing even with large time range, result is the same&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365083#M107675</guid>
      <dc:creator>isabel_ycourbe</dc:creator>
      <dc:date>2018-02-12T14:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the CIDR search on accelerated data failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365084#M107676</link>
      <description>&lt;P&gt;As far as I know CIDR isn't supported in &lt;CODE&gt;tstats&lt;/CODE&gt; commands with accelerated datamodel. Check this answer as well &lt;A href="https://answers.splunk.com/answers/468781/how-do-i-do-a-cidr-matchnot-match-in-a-tstats-sear.html"&gt;https://answers.splunk.com/answers/468781/how-do-i-do-a-cidr-matchnot-match-in-a-tstats-sear.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 08:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365084#M107676</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-02-13T08:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the CIDR search on accelerated data failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365085#M107677</link>
      <description>&lt;P&gt;Thanks for the answer and the workaround ! &lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 08:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365085#M107677</guid>
      <dc:creator>isabel_ycourbe</dc:creator>
      <dc:date>2018-02-13T08:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the CIDR search on accelerated data failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365086#M107678</link>
      <description>&lt;P&gt;Actually, natural CIDR filters work in &lt;CODE&gt;tstats&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count FROM datamodel=Network_Traffic WHERE index=* AND All_Traffic.src="10.0.0.0/8"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count WHERE index=* AND host="10.0.0.0/8"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This has been in Splunk for a long time, but maybe not always.  It works in all versions of 7.*&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 17:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365086#M107678</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-06-25T17:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the CIDR search on accelerated data failing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365087#M107679</link>
      <description>&lt;P&gt;For me CIDR filters on Splunk 7.3.3 fail. For example the query below should list only destinations which are IP's:&lt;/P&gt;

&lt;P&gt;| tstats values(Web.dest) as dest from datamodel=Web where Web.dest="0.0.0.0/0"&lt;/P&gt;

&lt;P&gt;However it just lists all kind of values.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:25:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-CIDR-search-on-accelerated-data-failing/m-p/365087#M107679</guid>
      <dc:creator>abpe</dc:creator>
      <dc:date>2020-05-12T09:25:29Z</dc:date>
    </item>
  </channel>
</rss>

