<?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: hosts reporting stats in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712692#M10760</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240546"&gt;@FAnalyst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=_internal sourcetype=splunkd component=Metrics group=tcpin_connections &lt;BR /&gt;| dedup sourceHost &lt;BR /&gt;| table sourceHost fwdType&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Feb 2025 13:04:06 GMT</pubDate>
    <dc:creator>kiran_panchavat</dc:creator>
    <dc:date>2025-02-27T13:04:06Z</dc:date>
    <item>
      <title>hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712684#M10755</link>
      <description>&lt;P&gt;I see there is a forwarder management dashboard in the monitoring console&amp;nbsp; where you can check if the host is reporting or not , I want the search that is used as the table contains the host name and the IP address , also there is no option for export in that dashboard , there is another similar dashboard in the monitoring console named&amp;nbsp;forwarder_deployment but does not show the IP address only the host name , can you help with that ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 12:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712684#M10755</guid>
      <dc:creator>FAnalyst</dc:creator>
      <dc:date>2025-02-27T12:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712686#M10756</link>
      <description>&lt;P&gt;You can serch using following searches:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| tstats values(splunk_server) as Host, values(clientip) as IP &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;from _internal &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;where index=_internal sourcetype=splunkd &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;by host&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;index=_internal sourcetype=splunkd &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| stats values(clientip) as IP by host&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 12:53:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712686#M10756</guid>
      <dc:creator>Cievo</dc:creator>
      <dc:date>2025-02-27T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712687#M10757</link>
      <description>&lt;P&gt;thank you for your answer ,I tried the search you shared is does not show the IP&amp;nbsp; address of the hosts , also the number does not match the number showing in the forwarder management dashboard&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 12:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712687#M10757</guid>
      <dc:creator>FAnalyst</dc:creator>
      <dc:date>2025-02-27T12:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712689#M10758</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240546"&gt;@FAnalyst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use the below search to get an exportable list of deployment clients.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;| rest splunk_server=local /services/deployment/server/clients &lt;BR /&gt;| table hostname utsname &lt;BR /&gt;| sort utsname&lt;/PRE&gt;&lt;P&gt;Another way to find forwarders is to search the internal index for incoming TCP connections.&lt;/P&gt;&lt;PRE&gt;index=_internal sourcetype=splunkd component=Metrics group=tcpin_connections &lt;BR /&gt;| dedup sourceHost &lt;BR /&gt;| table sourceHost fwdType&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1740661222740.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34733i05215C1E5F01CA01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1740661222740.png" alt="kiran_panchavat_0-1740661222740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To see all hosts that send data, not just forwarders, count the hosts found in all indexes.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;| tstats count where index=* host=* by host&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Feb 2025 13:01:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712689#M10758</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-27T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712691#M10759</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240546"&gt;@FAnalyst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to get list of whitelist servers using following query.&lt;/P&gt;&lt;PRE&gt;| rest /services/deployment/server/serverclasses | table title whitelist.* | untable title whitelist hostname | stats count by hostname | table hostname&lt;/PRE&gt;&lt;P&gt;You can put it to in a lookup file or just use the rest query itself and compare it against deployment/server/clients to know which clients that are configured in serverclass.conf but not sending phonehome. Something like this&lt;/P&gt;&lt;PRE&gt;| rest /services/deployment/server/serverclasses | table title whitelist.* | untable title whitelist hostname | stats count by hostname | table hostname | eval state="configured" | append [| rest /services/deployment/server/clients | table title | rename title as hostname | eval state="phonehome" ] | stats values(state) as state by hostname | where mvcount(state)=1 AND state="configured"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 13:02:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712691#M10759</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-27T13:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712692#M10760</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240546"&gt;@FAnalyst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=_internal sourcetype=splunkd component=Metrics group=tcpin_connections &lt;BR /&gt;| dedup sourceHost &lt;BR /&gt;| table sourceHost fwdType&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2025 13:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712692#M10760</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-27T13:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: hosts reporting stats</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712696#M10761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240546"&gt;@FAnalyst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answers provided so far look to either look at forwarders sending data to your Splunk indexers, or look at allowlist configurations in serverclasses, however I believe you are looking for the host and IP of deployment clients when they connect? If that is the case then try the below search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats latest(_time) as lastPhoneHome WHERE index=_dsphonehome earliest=-24h latest=now by data.clientId
| append 
    [| tstats latest(_time) as lastRestart where index=_dsclient earliest=0 latest=now by data.name, data.build, data.clientId, data.splunkVersion data.package, data.hostname]
    | stats latest(*) AS * by data.clientId
    | eval lastPhoneHomeFriendly=strftime(lastPhoneHome,"%d/%m/%Y %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_1-1740665055320.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34735iE2A15811F87C0280/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_1-1740665055320.png" alt="livehybrid_1-1740665055320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This was tested on SPlunk 9.3 but I believe should work from &amp;lt;9.2&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 14:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/hosts-reporting-stats/m-p/712696#M10761</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-27T14:05:30Z</dc:date>
    </item>
  </channel>
</rss>

