<?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: Test Universal forwarder connectivity with Deployement server on splunk enterprise in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759342#M23999</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We have HF as well in my instance, so if I do -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| tstats count where index=_internal by host&lt;BR /&gt;| dedup hostname | table hostname&lt;/PRE&gt;&lt;P&gt;Is it not going to return HF as well?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2026 13:56:37 GMT</pubDate>
    <dc:creator>manchou0709</dc:creator>
    <dc:date>2026-03-16T13:56:37Z</dc:date>
    <item>
      <title>Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759210#M23977</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am bit new to Splunk. In my current project,&amp;nbsp; there are around 69,000+ universal forwarders. I need to perform a test and extract a report for all the universal forwarders which are not connecting to the Deployment Server.&lt;/P&gt;&lt;P&gt;P.S I don't have access to these universal forwarders as they are on client's side.&lt;/P&gt;&lt;P&gt;Could some-help help me out an SPL query or any ways I can check for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 11:51:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759210#M23977</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-11T11:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759214#M23978</link>
      <description>&lt;P&gt;OK. Do you know how UFs and their deployment works?&lt;/P&gt;&lt;P&gt;You don't connect to the UFs. They connect to your DS and indexers/HFs.&lt;/P&gt;&lt;P&gt;You don't push config from DS. They pull it.&lt;/P&gt;&lt;P&gt;So the only source of knowledge about existence of UFs are either their historical logs stored in _inernal (the easiest way to check it would be&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| metadata type=hosts index=_internal&lt;/PRE&gt;&lt;P&gt;(It will contain _all_ splunk-related hosts, not just UFs, mind you))&lt;/P&gt;&lt;P&gt;or the forwarder inventory database built in Monitoring Console.&lt;/P&gt;&lt;P&gt;Other than that&amp;nbsp; you have no way of knowing how many forwarders the customer deploed and which of those are not able to reach your Splunk infrastructure. Where would you have it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 13:02:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759214#M23978</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-11T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759215#M23979</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get to this "&lt;SPAN&gt;forwarder inventory database built in Monitoring Console."&lt;BR /&gt;&lt;/SPAN&gt;Is this the correct steps&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Monitoring Console → Forwarders → Deployment&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Mar 2026 13:07:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759215#M23979</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-11T13:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759216#M23980</link>
      <description>&lt;P&gt;Yup.&lt;/P&gt;&lt;P&gt;If you want the contents of this database, you can look into the lookup&lt;/P&gt;&lt;PRE&gt;| inputlookup dmc_forwarder_assets&lt;/PRE&gt;&lt;P&gt;But remeber that it contains all forwarders which connected to your environment since the database was last cleared. So it might list nodes which are decomissioned ages ago, reinstalled and whatnot.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 13:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759216#M23980</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-11T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759279#M23985</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am still not able to figure this out.&lt;/P&gt;&lt;P&gt;I am trying to get a list of the all the ufs which are disconnected or not communicating to the Deployment server.&lt;/P&gt;&lt;P&gt;I am breaking it down in this way .&lt;BR /&gt;1. To List all the existing forwarders for my instance , and&amp;nbsp;&lt;BR /&gt;2. List all the forwarders which are establishing connection with DS&lt;/P&gt;&lt;P&gt;Hence, Missing/Disconnect UFs = All - (active UFs)&lt;/P&gt;&lt;P&gt;In my monitoring console, under Forwarder &amp;gt; Deployment, I see data which shows all the active and missing forwarders, which is pulling its data from a lookup called "| inputlookup dmc_forwarder_assets" , like you said earlier.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitoring console.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41750iD49BC12B5AD00F8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitoring console.png" alt="monitoring console.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, if I want to get all the forwarders which are there in my environment and is active, I am using this query below-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup dmc_forwarder_assets
| search forwarder_type="uf" AND status="active"
| dedup hostname
| table hostname&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;And to get list of forwarders I am using the below query -&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=DC:HandshakeReplyHandler
| dedup host
| table host&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;As, in my instance , under internal logs, only 3 values for the field component seems relevant -&lt;BR /&gt;DC:HandshakeReplyHandler, DC:DeploymentClient , DC:PhonehomeThread and DS_DC_Common&lt;BR /&gt;So, with my understanding I used DC:HandshakeReplyHandler as it gives the message - Handshake done (which basically means that uf was able to establish connection with the DS )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Am I going in right direction??&lt;/P&gt;&lt;P&gt;Please reply&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 14:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759279#M23985</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-13T14:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759286#M23987</link>
      <description>&lt;P&gt;You might be overthinking the second part a bit. I'd consider a forwarder "active" if it's able to properly send data. If it sends data, it sends also its internal logs. So you can just do&lt;/P&gt;&lt;PRE&gt;| tstats count where index=_internal by host&lt;/PRE&gt;&lt;P&gt;One small thing about the first search - the&lt;/P&gt;&lt;PRE&gt;| dedup hostname&lt;BR /&gt;| table hostname&lt;/PRE&gt;&lt;P&gt;is suboptimal.&lt;/P&gt;&lt;P&gt;OK, it's just working on single lookup contents so the overall data size isn't that big but as a general rule instead of this you should just do&lt;/P&gt;&lt;PRE&gt;| stats values(hostname) as hostname&lt;/PRE&gt;&lt;P&gt;optionally followed by&lt;/P&gt;&lt;PRE&gt;| mvexpand hostname&lt;/PRE&gt;&lt;P&gt;Firstly, dedup is usually best avoided since it's almost always behaving not as you intended (unless you're the one percent that really knows what they're doing ;-)).&lt;/P&gt;&lt;P&gt;And secondly, it's centralized and fairly resource-intensive. Stats can use map-reduce so it only fetches the partial results from the indexers, not whole event stream.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 16:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759286#M23987</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-13T16:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759297#M23988</link>
      <description>That is correct after you have enabled forwarder monitoring. I expecting that this is already working. But if you need to enable it or clear forwarder assets (e.g. remove old missed UFs) then use path&lt;BR /&gt;&lt;BR /&gt;MC -&amp;gt; Settings -&amp;gt; Forwarder Monitoring Setup&lt;BR /&gt;&lt;BR /&gt;1st time just push Enable in Forwarder Monitoring and select suitable Data Collection Interval. Probably something else than 15 as you have quite many UF?&lt;BR /&gt;&lt;BR /&gt;Then when you want to remove missed UFs just push Rebuild forwarder assets.</description>
      <pubDate>Fri, 13 Mar 2026 18:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759297#M23988</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2026-03-13T18:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759342#M23999</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We have HF as well in my instance, so if I do -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| tstats count where index=_internal by host&lt;BR /&gt;| dedup hostname | table hostname&lt;/PRE&gt;&lt;P&gt;Is it not going to return HF as well?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 13:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759342#M23999</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-16T13:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759343#M24000</link>
      <description>&lt;P&gt;Well. Yes, it wil (except for the fact that the second line of the search is completely unnecessary and will actually make Splunk return no events at all since you have no field named "hostname" after tstats ;-))l. This is the way to report _all_ Splunk hosts and forwarders. Usually that's the easiest trick to pull off and then manually remove known HFs, indexers, SHs and such.&lt;/P&gt;&lt;P&gt;It's quick and dirty but often just gets the job done.&lt;/P&gt;&lt;P&gt;If you want a more sophisticated approach, go for the dmc_forwarder_assets lookup.&lt;/P&gt;&lt;P&gt;BTW, the search based on the DC:Handshake component will only list components using DS. If you have forwarders which are not DS-managed, they will not be listed.&lt;/P&gt;&lt;P&gt;As usual - Splunk gives you tons of flexibility but the price is that sometimes getting some info about your Splunk installation can be a bit complicated because of several different ways things can be done or connected.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 15:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759343#M24000</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-16T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759379#M24007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the correct working query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=DC:DeploymentClient splunk_server=* "*phonehome*" OR "*handshake*" OR "not_connected"
| stats latest(_time) AS lastTime BY host
| eval age=round((now() - lastTime)/3600, 1)
| where age &amp;gt;=24
| eval lastTime=strftime(lastTime, "%b %d, %Y %H:%M:%S")
| table host age lastTime
| sort 0 - age&lt;/LI-CODE&gt;&lt;P&gt;Apparently I was overthinking it&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 13:29:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759379#M24007</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-17T13:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759384#M24008</link>
      <description>&lt;P&gt;One small but important detail.&lt;/P&gt;&lt;P&gt;If you're writing a search like this and you can avoid it, don't ever use terms like "*phonehome*". Splunk really hates wildcards at the beginning of search term because it makes it have to parse each single event to find out if it matches the term - it cannot use the lexicon.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 18:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759384#M24008</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-17T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759387#M24009</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Understood!&lt;BR /&gt;&lt;BR /&gt;Just one last confirmation. For a host, I observe that after every 12 seconds, the host is trying to establish handshake with the Deployment server and lastly it says "handshake done"&lt;BR /&gt;&lt;BR /&gt;Does that means it was finally able to establish connection with the DS??&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deployment_server_internal_logs.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41777i498A683FB138FF76/image-size/large?v=v2&amp;amp;px=999" role="button" title="deployment_server_internal_logs.png" alt="deployment_server_internal_logs.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 18:41:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759387#M24009</guid>
      <dc:creator>manchou0709</dc:creator>
      <dc:date>2026-03-17T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Test Universal forwarder connectivity with Deployement server on splunk enterprise</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759529#M24021</link>
      <description>Basically yes. If it has success then there should be some information what it have assigned to it and are checksums of those differ and if then it start to download those packages.</description>
      <pubDate>Fri, 20 Mar 2026 22:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Test-Universal-forwarder-connectivity-with-Deployement-server-on/m-p/759529#M24021</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2026-03-20T22:04:06Z</dc:date>
    </item>
  </channel>
</rss>

