<?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: Splunk Universal Forwarder Phone Home Via Intermediate Forwarder in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428688#M7931</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" services/broker/phonehome/connection 
| rex field=uri "8089_(?P&amp;lt;client&amp;gt;.+?)_" | stats count by client
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will give you a DNS name when it has one, or failing that an IP if it cant be resolved.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 16:29:24 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-01-25T16:29:24Z</dc:date>
    <item>
      <title>Splunk Universal Forwarder Phone Home Via Intermediate Forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428687#M7930</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'm currently using a query on a dashboard that is showing Splunk Machines that are online,&lt;BR /&gt;
&lt;CODE&gt;index="_internal"  services/broker/phonehome/connection | stats count by host&lt;/CODE&gt; (for the past 15 minutes)&lt;/P&gt;

&lt;P&gt;My problem is half of my machines sit behind a firewall and send their data via an intermediate forwarder.&lt;/P&gt;

&lt;P&gt;Diagram Bellow (Security Team wouldn't sign off the solution unless i followed this approach)&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6443iB0B6EFBB9BFAB100/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I cannot show the status of these endpoints using the same method as the host value for data in the internal index has the forwarder's hostname rather than the actual endpoint.&lt;/P&gt;

&lt;P&gt;Has anyone found a way around this?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 14:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428687#M7930</guid>
      <dc:creator>JselbyELC</dc:creator>
      <dc:date>2019-01-25T14:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder Phone Home Via Intermediate Forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428688#M7931</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" services/broker/phonehome/connection 
| rex field=uri "8089_(?P&amp;lt;client&amp;gt;.+?)_" | stats count by client
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will give you a DNS name when it has one, or failing that an IP if it cant be resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 16:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428688#M7931</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-01-25T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder Phone Home Via Intermediate Forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428689#M7932</link>
      <description>&lt;P&gt;You should not "make it work" the way that it is.  You should correct your forwarding so that the intermediate forwarder is NOT listead as &lt;CODE&gt;host&lt;/CODE&gt;.  This is not difficult and there are many articles and approaches on how to do &lt;CODE&gt;host override&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 22:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428689#M7932</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-25T22:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder Phone Home Via Intermediate Forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428690#M7933</link>
      <description>&lt;P&gt;Thank you for your help the query was very helpful, i managed to fix my Hostname problem after restarting the splunk server a couple of times!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 19:01:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Universal-Forwarder-Phone-Home-Via-Intermediate-Forwarder/m-p/428690#M7933</guid>
      <dc:creator>JselbyELC</dc:creator>
      <dc:date>2019-02-05T19:01:53Z</dc:date>
    </item>
  </channel>
</rss>

