<?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: Can I set a different connection_host value for a specific set of remote servers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360243#M65706</link>
    <description>&lt;P&gt;Normally the host is set at the initial forwarder receiving the data, not at a secondary forwarder or the indexer receiving the data on a splunktcp input. The connection_host setting only has an effect if the original forwarder did not set the host field.&lt;/P&gt;

&lt;P&gt;Can you perhaps elaborate your situation a bit and why you are using this setting on a splunktcp input? Perhaps that can point us into directions to solve it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 08:55:21 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-04-09T08:55:21Z</dc:date>
    <item>
      <title>Can I set a different connection_host value for a specific set of remote servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360241#M65704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a inputs.conf with splunktcp-ssl stanza.&lt;BR /&gt;
The connection_host is equals to "dns".&lt;BR /&gt;
But I would like it to be "none" for some remote servers (Splunk UF sending to this splunktcp-ssl).&lt;/P&gt;

&lt;P&gt;Is it possible to keep only one splunk-TCP port open with 2 differents behavior on "connection_host" depending on which IP is sending data? (by tuning "acceptFrom" maybe)&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360241#M65704</guid>
      <dc:creator>ctaf</dc:creator>
      <dc:date>2018-03-15T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I set a different connection_host value for a specific set of remote servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360242#M65705</link>
      <description>&lt;P&gt;Hey@ctaf,&lt;/P&gt;

&lt;P&gt;Are you trying to filter events and take data only for particular events?Then refer this link:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also refer this link for hostname:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Setadefaulthostforaninput"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Setadefaulthostforaninput&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 08:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360242#M65705</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-04-09T08:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I set a different connection_host value for a specific set of remote servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360243#M65706</link>
      <description>&lt;P&gt;Normally the host is set at the initial forwarder receiving the data, not at a secondary forwarder or the indexer receiving the data on a splunktcp input. The connection_host setting only has an effect if the original forwarder did not set the host field.&lt;/P&gt;

&lt;P&gt;Can you perhaps elaborate your situation a bit and why you are using this setting on a splunktcp input? Perhaps that can point us into directions to solve it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 08:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360243#M65706</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-09T08:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I set a different connection_host value for a specific set of remote servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360244#M65707</link>
      <description>&lt;P&gt;Hi Frank,  are you sure that connection_host has no effect if the original forwarder set host field already?&lt;BR /&gt;
Because I used to have connection_host= dns and I had a lot of DNS request by this intermediate forwarder even though all my original UF have got the host field set...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:57:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360244#M65707</guid>
      <dc:creator>ctaf</dc:creator>
      <dc:date>2020-09-29T18:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I set a different connection_host value for a specific set of remote servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360245#M65708</link>
      <description>&lt;P&gt;That's how I interpret the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/inputsconf"&gt;inputs.conf&lt;/A&gt; spec:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;connection_host = [ip|dns|none]
* For splunktcp, the host or connection_host will be used if the remote Splunk
  instance does not set a host, or if the host is set to "&amp;lt;host&amp;gt;::&amp;lt;localhost&amp;gt;".
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Not sure how Splunk exactly works, it may still do the DNS lookup, but then decide not to use the result?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:55:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-a-different-connection-host-value-for-a-specific-set/m-p/360245#M65708</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-09T10:55:15Z</dc:date>
    </item>
  </channel>
</rss>

