<?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: help needed with UF settings distributed over deployment server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/help-needed-with-UF-settings-distributed-over-deployment-server/m-p/485715#M83142</link>
    <description>&lt;P&gt;When an app is deployed to a forwarder, the entire contents of the app are replaced on the forwarder.  This includes the &lt;CODE&gt;local&lt;/CODE&gt; directory, unless it is excluded (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Updating/Excludecontent"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Updating/Excludecontent&lt;/A&gt;).  Since there should not be any local configuration changes on a forwarder, this is OK.&lt;/P&gt;

&lt;P&gt;You can use a different app to deploy the setting, but keep in mind apps are applied in alphabetical order with the first app winning.&lt;/P&gt;

&lt;P&gt;Do NOT copy-paste all of a default config file to local.  Copy only the attributes (and their stanza names) you need to override.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 12:44:22 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-01-21T12:44:22Z</dc:date>
    <item>
      <title>help needed with UF settings distributed over deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-needed-with-UF-settings-distributed-over-deployment-server/m-p/485714#M83141</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to distribute one UF parameter to my clients, it is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;limits.conf
   ...
    [inputproc]
    file_tracking_db_threshold_mb = 150
    ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For that I created an app called SplunkUniversalForwarder in the deployment-apps of the deployment server. I chose the app-name deliberately the same as on the forwarders, because I hoped that the changes there will be updated to the same folder on the UF.&lt;BR /&gt;
Inside of the /etc/deployment-apps/SplunkUniversalForwarder/local, I created limits.conf with the single parameter above.&lt;BR /&gt;
My expectation was that this app will be distributed to the clients and the "local" directory will be created inside of the existing /opt/splunkforwarder/etc/apps/SplunkUniversalForwarder directory there. &lt;BR /&gt;
This was the case, however the "default" directory there was wiped out. This means the app was distributed in the way that the existing one was overwritten.&lt;/P&gt;

&lt;P&gt;Now, before I continue, I would like to ask what is the best practice to distribute the UF parametrisation like above via the deployment server. Per my understanding, if I use another app name, then it will be created on the UF, but will the limits.conf settings then be applied to the UF?&lt;BR /&gt;
And what about upgrading the UF software to the higher version? Will it wipe out the changes I made in "local" above?&lt;BR /&gt;
I mean I could copy-paste what is in the default/limits.conf to local/limits.conf on the deployment server and redistribute it, but my concern is if it stays there after the UF software upgrade ...&lt;/P&gt;

&lt;P&gt;Please advise.&lt;/P&gt;

&lt;P&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 10:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-needed-with-UF-settings-distributed-over-deployment-server/m-p/485714#M83141</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2020-01-21T10:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: help needed with UF settings distributed over deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-needed-with-UF-settings-distributed-over-deployment-server/m-p/485715#M83142</link>
      <description>&lt;P&gt;When an app is deployed to a forwarder, the entire contents of the app are replaced on the forwarder.  This includes the &lt;CODE&gt;local&lt;/CODE&gt; directory, unless it is excluded (see &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Updating/Excludecontent"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Updating/Excludecontent&lt;/A&gt;).  Since there should not be any local configuration changes on a forwarder, this is OK.&lt;/P&gt;

&lt;P&gt;You can use a different app to deploy the setting, but keep in mind apps are applied in alphabetical order with the first app winning.&lt;/P&gt;

&lt;P&gt;Do NOT copy-paste all of a default config file to local.  Copy only the attributes (and their stanza names) you need to override.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 12:44:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-needed-with-UF-settings-distributed-over-deployment-server/m-p/485715#M83142</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-21T12:44:22Z</dc:date>
    </item>
  </channel>
</rss>

