<?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: Best way to change the inputs.conf file of a universal forwarder from deployment server. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85094#M17705</link>
    <description>&lt;P&gt;Yes, but the issue is I do have a serverclass.conf file that is set to deploy in to opt/splunkforwarder/etc/system/local directory instead of apps.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2012 19:48:09 GMT</pubDate>
    <dc:creator>ssankeneni</dc:creator>
    <dc:date>2012-10-09T19:48:09Z</dc:date>
    <item>
      <title>Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85092#M17703</link>
      <description>&lt;P&gt;Can any one please let me know the best way to update the opt/splunkforwarder/etc/system/local/inputs.conf of universal forwarder from a deployment server. I'm able to achieve this by creating an app called local in deployment server but Is there any better way to do this ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 18:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85092#M17703</guid>
      <dc:creator>ssankeneni</dc:creator>
      <dc:date>2012-10-09T18:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85093#M17704</link>
      <description>&lt;P&gt;Have you configured your Deployment server?  Is your UF configured to contact said Deployment Server?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 19:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85093#M17704</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-09T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85094#M17705</link>
      <description>&lt;P&gt;Yes, but the issue is I do have a serverclass.conf file that is set to deploy in to opt/splunkforwarder/etc/system/local directory instead of apps.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 19:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85094#M17705</guid>
      <dc:creator>ssankeneni</dc:creator>
      <dc:date>2012-10-09T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85095#M17706</link>
      <description>&lt;P&gt;I'm looking for a way to deploy it as an app itself&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 19:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85095#M17706</guid>
      <dc:creator>ssankeneni</dc:creator>
      <dc:date>2012-10-09T19:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85096#M17707</link>
      <description>&lt;P&gt;Give me a moment and I'll have a sample config.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 20:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85096#M17707</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-09T20:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change the inputs.conf file of a universal forwarder from deployment server.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85097#M17708</link>
      <description>&lt;P&gt;If you have configured your Deployment Server correctly and you have an app called myfirstapp.&lt;BR /&gt;
Here is a sample serverclass.conf:&lt;/P&gt;

&lt;P&gt;Defaults for app repository on Deployment server:  $SPLUNK_HOME\etc\deployment-apps&lt;/P&gt;

&lt;P&gt;Default for install location on client server: $SPLUNK_HOME\etc\apps&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
#serverclass.conf&lt;BR /&gt;
#default deployment server settings&lt;BR /&gt;
[global]&lt;BR /&gt;
repositoryLocation=$SPLUNK/etc/deployment-apps #repository of your apps you wish to deploy&lt;BR /&gt;
restartSplunkd=false&lt;BR /&gt;
restartSplunkWeb=false&lt;BR /&gt;
stateOnClient=disabled #all apps are disable unless stated at higher precede stanza&lt;BR /&gt;
blacklist.0=*  # all server are blacklisted unless stated at higher precede stanza&lt;BR /&gt;
continueMatching=true &lt;BR /&gt;
#my forwarders class.  This class will deploy all apps under this calss to any server in 10.1.251.* range&lt;BR /&gt;
[serverClass:forwarders]&lt;BR /&gt;
restartSplunkd=true #restart Splunkd after install&lt;BR /&gt;
stateOnClient=enabled&lt;BR /&gt;
whitelist.0=10.1.251.* #Range of Forwarders&lt;BR /&gt;
#deploy myfirstapp using serverClass fowarders&lt;BR /&gt;
#location of my firstapp: $SPLUNK_HOME\etc\deployment-apps\firstapp&lt;BR /&gt;
[serverClass:forwarders:app:myfirstapp]&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;On your forwarder if not configured:&lt;BR /&gt;
&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
#deploymentclient.conf&lt;BR /&gt;
[deployment-client]&lt;BR /&gt;
Disabled=false&lt;BR /&gt;
phoneHomeIntervalInSecs = 300&lt;BR /&gt;
[target-broker:deploymentServer]&lt;BR /&gt;
targetUri=&lt;DEPLOYMENTSERVERIP&gt;:8089&lt;BR /&gt;
&lt;/DEPLOYMENTSERVERIP&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;To list deployment clients use: splunk list deploy-clients&lt;/P&gt;

&lt;P&gt;Additional reading:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/ConfigureDeploymentClients"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/ConfigureDeploymentClients&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Serverclassconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Serverclassconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Deploy:DeploymentServer"&gt;http://wiki.splunk.com/Deploy:DeploymentServer&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 20:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-change-the-inputs-conf-file-of-a-universal-forwarder/m-p/85097#M17708</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-09T20:27:59Z</dc:date>
    </item>
  </channel>
</rss>

