<?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: Total amount of IPs in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483304#M8641</link>
    <description>&lt;P&gt;depending on use case (eg in a base search on a dashboard), you can also chain &lt;CODE&gt;|stats&lt;/CODE&gt; thusly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;
| stats count by ipaddress
| stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Nov 2019 15:06:50 GMT</pubDate>
    <dc:creator>wmyersas</dc:creator>
    <dc:date>2019-11-14T15:06:50Z</dc:date>
    <item>
      <title>Total amount of IPs</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483301#M8638</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I have this query:&lt;/P&gt;

&lt;P&gt;index=XX | stats count by ipaddress&lt;/P&gt;

&lt;P&gt;This creates a table which says how many log entries are there for each IP address, but what I need to know is How many different IP addresses are there. I don't care how many entries are there for each IP, I just need the total amount of different IP Addresses.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;BR /&gt;
Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 13:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483301#M8638</guid>
      <dc:creator>fjurman001</dc:creator>
      <dc:date>2019-11-14T13:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Total amount of IPs</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483302#M8639</link>
      <description>&lt;P&gt;&lt;CODE&gt;.... | stats dc(ipadress) as unique_ips ...&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 13:48:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483302#M8639</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-11-14T13:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Total amount of IPs</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483303#M8640</link>
      <description>&lt;P&gt;That was just what I needed!&lt;BR /&gt;
Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 13:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483303#M8640</guid>
      <dc:creator>fjurman001</dc:creator>
      <dc:date>2019-11-14T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Total amount of IPs</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483304#M8641</link>
      <description>&lt;P&gt;depending on use case (eg in a base search on a dashboard), you can also chain &lt;CODE&gt;|stats&lt;/CODE&gt; thusly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;
| stats count by ipaddress
| stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Total-amount-of-IPs/m-p/483304#M8641</guid>
      <dc:creator>wmyersas</dc:creator>
      <dc:date>2019-11-14T15:06:50Z</dc:date>
    </item>
  </channel>
</rss>

