<?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 Forwarder from public server to local server on a network in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294877#M56030</link>
    <description>&lt;P&gt;you can try putting dns name instead of ip address&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 12:13:06 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-01-11T12:13:06Z</dc:date>
    <item>
      <title>Splunk Forwarder from public server to local server on a network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294876#M56029</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I was able to set splunk forwarder from local server to local splunk server on our network.&lt;BR /&gt;
How can i set it from a public server to send records to that same splunk hosted on our local server ?&lt;/P&gt;

&lt;P&gt;This is the error i currently receive:&lt;BR /&gt;
01-11-2018 03:14:26.364 -0500 ERROR TcpOutputProc - Processing server from outputs.conf: can't resolve a valid IP address for host="ourhost"&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294876#M56029</guid>
      <dc:creator>johnnykhoueiry</dc:creator>
      <dc:date>2018-01-11T09:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder from public server to local server on a network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294877#M56030</link>
      <description>&lt;P&gt;you can try putting dns name instead of ip address&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 12:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294877#M56030</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-11T12:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder from public server to local server on a network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294878#M56031</link>
      <description>&lt;P&gt;There are several things to consider before doing this with real data.&lt;/P&gt;

&lt;P&gt;1.) You will want to configure your 'receiving' server to have a TLS listener.&lt;BR /&gt;
2.) Ensure your forwarder is configured to send TLS data only.&lt;BR /&gt;
&lt;EM&gt;You want to do both of these things, because otherwise your events (which may contain all of your sensitive data) will be sent in clear text&lt;/EM&gt;&lt;BR /&gt;
3.) You will need to make sure your 'receiving' server has a rule on your firewall, as well as any NAT or IP configuration to make it accessible from the public internet on your TLS port.&lt;BR /&gt;
4.) You might want to consider installing a heavy forwarder as your 'receiving' server. Generally speaking it would be considered bad practice to put indexers directly on the internet - although sometimes 'needs must'.&lt;BR /&gt;
5.) You should make sure you keep on top of Splunk &amp;amp; OS updates on your receiving server. Its also a good idea to restrict other Splunk ports (web/app/kv/mgt) ports so that you can only access them from your LAN. - Perhaps use your firewall to restrict to the IP of your forwarder.&lt;BR /&gt;
6.) Consider if you can use the HEC which is more suited to sending events across the internet.&lt;BR /&gt;
7.) Confirm that your forwarder has a direct route to the internet - if your traffic is marshalled through a proxy server, you may encounter issues on the forwarding side.&lt;BR /&gt;
8.) Finally, confirm the IP address is rout able (some ISPs do nasty things to prevent this) and that any DNS name you have configured, correctly resolves to your IP.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 13:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294878#M56031</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-11T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder from public server to local server on a network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294879#M56032</link>
      <description>&lt;P&gt;It sounds to me like your forwarder is unable to resolve the hostname.  From that server try these to help troubleshoot:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ping ourhost

dig ourhost
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If your forwarder can't resolve the hostname to an IP address, you should first determine why.  If it's a reasonable answer (split horizon DNS, etc), perhaps you just need to hardcode the IP address into outputs.conf.  Or perhaps work on getting the name resolvable by DNS.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 15:10:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-from-public-server-to-local-server-on-a-network/m-p/294879#M56032</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T15:10:01Z</dc:date>
    </item>
  </channel>
</rss>

