<?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 Why does the Linux Centos Forwarder does not automatically load changes from inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356711#M65153</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We have some centos 7.4 systems with Splunk forwarder 7.0.0 installed.&lt;BR /&gt;
Changes for data inputs are distributed to the agent's inputs.conf file, but the agent does not automatically use these new settings.&lt;BR /&gt;
After we manually restart the Splunk service the updated inputs.conf file is read and used.&lt;/P&gt;

&lt;P&gt;The agent is running under a dedicated account named Splunk. The Splunk account is added the /etc/sudoers file to allow restarting the Splunk services.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2018 13:53:49 GMT</pubDate>
    <dc:creator>magriii</dc:creator>
    <dc:date>2018-03-16T13:53:49Z</dc:date>
    <item>
      <title>Why does the Linux Centos Forwarder does not automatically load changes from inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356711#M65153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We have some centos 7.4 systems with Splunk forwarder 7.0.0 installed.&lt;BR /&gt;
Changes for data inputs are distributed to the agent's inputs.conf file, but the agent does not automatically use these new settings.&lt;BR /&gt;
After we manually restart the Splunk service the updated inputs.conf file is read and used.&lt;/P&gt;

&lt;P&gt;The agent is running under a dedicated account named Splunk. The Splunk account is added the /etc/sudoers file to allow restarting the Splunk services.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356711#M65153</guid>
      <dc:creator>magriii</dc:creator>
      <dc:date>2018-03-16T13:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Linux Centos Forwarder does not automatically load changes from inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356712#M65154</link>
      <description>&lt;P&gt;HI magriii,&lt;BR /&gt;
how do you deploy updates: using a Deployment Server or an external tool.&lt;/P&gt;

&lt;P&gt;If Deployment Server, remember to check the Splunkd restart checkbox in ServerClass.&lt;BR /&gt;
If an external tool, remember to restart Splunk after updates.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 15:18:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356712#M65154</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-03-16T15:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Linux Centos Forwarder does not automatically load changes from inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356713#M65155</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;

&lt;P&gt;If you change the configuration files directly, splunk does not know you have changed something. &lt;/P&gt;

&lt;P&gt;.conf files are never re-read before you actually restart Splunk, and that is actually the expected behaviour.&lt;/P&gt;

&lt;P&gt;As @cusello has mentioned, if you are using a deployment server to pull changes to the Universal Forwarders, then you should make sure that:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;after changing some configuration in an app under deployment_apps, you must splunk repload deploy-server in order to make the DS aware you changed things are recreate a checksum of what you have in the app&lt;/LI&gt;
&lt;LI&gt;the serverclass should have the option "restart splunk" enabled so your Universal Forwarders restart automatically and your changes turn into runtime configurations.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/MSApp/1.4.3/MSInfra/Setupadeploymentserver"&gt;https://docs.splunk.com/Documentation/MSApp/1.4.3/MSInfra/Setupadeploymentserver&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 15:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356713#M65155</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-16T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Linux Centos Forwarder does not automatically load changes from inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356714#M65156</link>
      <description>&lt;P&gt;Hi and thanks to both comments.&lt;BR /&gt;
I'm using  the Splunk server as a deployment server and wasn't aware that I needed to enable the restart option.&lt;BR /&gt;
Now as I better know where to search I found this Question that discusses the same issue.&lt;BR /&gt;
&lt;A href="him+thanks+to+both+comments.+I'm+using++the+Splunk+server+as+a+deployment+server+and+wasn't+aware+that+I+needed+to+enable+the+restart+option.+Now+as+I+better+know+where+to+search+I+found+this+Question+that+discusses+the+same+issue.++https://answers.splunk.com/answers/519070/splunk-forwarder-need-to-restart-when-new-app-with.html"&gt;link text&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I've enabled these values and things are good.&lt;BR /&gt;
restartSplunkd = true&lt;BR /&gt;
issueReload = true&lt;BR /&gt;
restartIfNeeded = true&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 16:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-the-Linux-Centos-Forwarder-does-not-automatically-load/m-p/356714#M65156</guid>
      <dc:creator>magriii</dc:creator>
      <dc:date>2018-03-16T16:05:54Z</dc:date>
    </item>
  </channel>
</rss>

