<?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 How to use inputs.conf or a setup page that will enable users to change the default monitoring port? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-inputs-conf-or-a-setup-page-that-will-enable-users-to/m-p/331869#M61475</link>
    <description>&lt;P&gt;My app is monitoring a default port for events. I want the user to be able to change this default port as per the system.&lt;BR /&gt;
Example, [udp://123]. On the setup page, if the user provides any other port number, I want this '123' port to change to the user defined port. I checked the examples, they are about changing the parameter of fields for the defined input stanza but not the input.&lt;/P&gt;

&lt;P&gt;Is there any way I can do this with setup page? or else I can create new entry in inputs.conf with the user defined port?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2017 18:20:57 GMT</pubDate>
    <dc:creator>gaurav_maniar</dc:creator>
    <dc:date>2017-04-17T18:20:57Z</dc:date>
    <item>
      <title>How to use inputs.conf or a setup page that will enable users to change the default monitoring port?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-inputs-conf-or-a-setup-page-that-will-enable-users-to/m-p/331869#M61475</link>
      <description>&lt;P&gt;My app is monitoring a default port for events. I want the user to be able to change this default port as per the system.&lt;BR /&gt;
Example, [udp://123]. On the setup page, if the user provides any other port number, I want this '123' port to change to the user defined port. I checked the examples, they are about changing the parameter of fields for the defined input stanza but not the input.&lt;/P&gt;

&lt;P&gt;Is there any way I can do this with setup page? or else I can create new entry in inputs.conf with the user defined port?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 18:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-inputs-conf-or-a-setup-page-that-will-enable-users-to/m-p/331869#M61475</guid>
      <dc:creator>gaurav_maniar</dc:creator>
      <dc:date>2017-04-17T18:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use inputs.conf or a setup page that will enable users to change the default monitoring port?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-inputs-conf-or-a-setup-page-that-will-enable-users-to/m-p/331870#M61476</link>
      <description>&lt;P&gt;I am not sure if this is exactly what you mean, but one can add/remove inputs in the gui:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;...or via CLI cmd:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_the_CLI"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_the_CLI&lt;/A&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk add udp 514 -sourcetype syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or as you mentioned, you can edit your existing inputs.conf to remove the old input stanza and add a new one:&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can also manage those configuration files through a Deployment Server.  If you have an app, as mentioned, where those settings are configured, you can Deploy a new version of that app to the relevant host with the new inputs:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/Updating/Aboutdeploymentserver"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/Updating/Aboutdeploymentserver&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It just depends on the environment but that gives you a range of options.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 19:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-inputs-conf-or-a-setup-page-that-will-enable-users-to/m-p/331870#M61476</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2017-04-17T19:25:03Z</dc:date>
    </item>
  </channel>
</rss>

