<?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: Number of hosts over time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Number-of-hosts-over-time/m-p/93939#M19546</link>
    <description>&lt;P&gt;This will give what you want.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal per_host_thruput | timechart span=1d dc(series) as hosts
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;dc is short for distinct count and series contains the host name in the per_host group&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2012 22:25:19 GMT</pubDate>
    <dc:creator>BobM</dc:creator>
    <dc:date>2012-10-17T22:25:19Z</dc:date>
    <item>
      <title>Number of hosts over time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Number-of-hosts-over-time/m-p/93938#M19545</link>
      <description>&lt;P&gt;I am looking for a good way to show the number of host that are sending log files to splunk over time&lt;/P&gt;

&lt;P&gt;I can use timechart but how do I count uniq host names and from what index.  I tried _internal for the metrics and summary but when i use uniq or dedup it kills my timchart function.&lt;/P&gt;

&lt;P&gt;How to get the number for each day over a 30 day????&lt;/P&gt;

&lt;P&gt;I tried this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal hostname="*" component="Metrics" | timechart span=d count(uniq hostname)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But that's not right. anyone know the right way??&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2012 22:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Number-of-hosts-over-time/m-p/93938#M19545</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2012-10-17T22:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Number of hosts over time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Number-of-hosts-over-time/m-p/93939#M19546</link>
      <description>&lt;P&gt;This will give what you want.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal per_host_thruput | timechart span=1d dc(series) as hosts
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;dc is short for distinct count and series contains the host name in the per_host group&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2012 22:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Number-of-hosts-over-time/m-p/93939#M19546</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2012-10-17T22:25:19Z</dc:date>
    </item>
  </channel>
</rss>

