<?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: Correct format for specifying network inputs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555428#M91995</link>
    <description>&lt;P&gt;Could be a backward compatibility they both are same without remote_server port just listens on every host available that's the purpose.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jun 2021 05:16:49 GMT</pubDate>
    <dc:creator>venkatasri</dc:creator>
    <dc:date>2021-06-11T05:16:49Z</dc:date>
    <item>
      <title>Correct format for specifying network inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555425#M91992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The Splunk documentation for &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/Admin/Inputsconf" target="_blank" rel="noopener"&gt;inputs.conf&lt;/A&gt; presents the format to add a network input as follows [Notice the ":" before the port number]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcp://:9995]
connection_host = dns
sourcetype = log4j
source = tcp:9995&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I went ahead and added a network input from Splunk Web and checked the inputs.conf file and found a different format as shown below. [Notice the lack of ":" before 1333]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcp://1333]
connection_host = dns
host = splunk-indx1
sourcetype = log4php&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;So what is the appropriate format ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Termcap&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 04:45:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555425#M91992</guid>
      <dc:creator>termcap</dc:creator>
      <dc:date>2021-06-11T04:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for specifying network inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555426#M91993</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229611"&gt;@termcap&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example from inputs.conf spec below, however i find your both settings should work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# The following configuration listens on TCP port 9995 for raw
# data from ANY remote server. The host of the data is set as the host name of
# the remote server.  All data will also be assigned the sourcetype "log4j" and
# the source "tcp:9995".
[tcp://:9995]
connection_host = dns
sourcetype = log4j
source = tcp:9995&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if it helps!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 05:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555426#M91993</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-11T05:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for specifying network inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555427#M91994</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;, I think both are indeed working fine, but I'm just wondering what is the reason for the difference in the documentation and the way Splunk web writes the configuration file when a network input is added.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 05:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555427#M91994</guid>
      <dc:creator>termcap</dc:creator>
      <dc:date>2021-06-11T05:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for specifying network inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555428#M91995</link>
      <description>&lt;P&gt;Could be a backward compatibility they both are same without remote_server port just listens on every host available that's the purpose.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 05:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-format-for-specifying-network-inputs/m-p/555428#M91995</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-11T05:16:49Z</dc:date>
    </item>
  </channel>
</rss>

