<?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: newbe question: How do I list machines reporting to my splunk server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75831#M15478</link>
    <description>&lt;P&gt;Run the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata hosts
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 23 Oct 2010 00:55:41 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2010-10-23T00:55:41Z</dc:date>
    <item>
      <title>newbe question: How do I list machines reporting to my splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75830#M15477</link>
      <description>&lt;P&gt;How do I list machines reporting to my server?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2010 00:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75830#M15477</guid>
      <dc:creator>jawehren</dc:creator>
      <dc:date>2010-10-23T00:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: newbe question: How do I list machines reporting to my splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75831#M15478</link>
      <description>&lt;P&gt;Run the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata hosts
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Oct 2010 00:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75831#M15478</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-10-23T00:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: newbe question: How do I list machines reporting to my splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75832#M15479</link>
      <description>&lt;P&gt;Here are a couple searches that will get a list of hosts.  This one will give you all machines in last 10 minutes reporting in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* minutesago=10 | dedup host | stats list(host)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can run this over any time frame you want... minutesago=30?  Or, you can use the time picker and select "custom time" to look at all host reporting in during the time frame of your choice.  &lt;/P&gt;

&lt;P&gt;Here is another search that gives you all hosts reporting in, but also the number of events from each host:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* minutesago=10 | chart count(host) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The above search will give you each host reporting in during last 10 minutes, and also the number of events from that host.  Lets you see who is most active.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2010 03:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75832#M15479</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2010-10-23T03:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: newbe question: How do I list machines reporting to my splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75833#M15480</link>
      <description>&lt;P&gt;This search will give you all hosts reporting to your indexer and the last time they forwarded data.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=foo | eval last_contact=now()-recentTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Oct 2010 04:02:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/newbe-question-How-do-I-list-machines-reporting-to-my-splunk/m-p/75833#M15480</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-10-23T04:02:36Z</dc:date>
    </item>
  </channel>
</rss>

