<?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: Why does excludeFromUpdate not work in serverclass.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206950#M40863</link>
    <description>&lt;P&gt;As hexx answered correctly you also need a v6.2 or higer client. &lt;/P&gt;

&lt;P&gt;Workaround for everyone having the same issue with the older clients using git: it's save enough to delete the .git//FETCH_HEAD everytime after git pull. &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2015 12:57:08 GMT</pubDate>
    <dc:creator>schose</dc:creator>
    <dc:date>2015-10-28T12:57:08Z</dc:date>
    <item>
      <title>Why does excludeFromUpdate not work in serverclass.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206948#M40861</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm managing my apps deployed through forwarder management using git. When running a scheduled "git pull" the file, .git/FETCH_HEAD is always newly created. &lt;BR /&gt;
When running a &lt;CODE&gt;splunk reload deploy-server&lt;/CODE&gt;, the app is always sent out to the clients and Splunk will be restarted. &lt;/P&gt;

&lt;P&gt;To avoid this, I'm trying to use the excludeFromUpdate introduced in Splunk v6.2 but neither&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[serverClass:splunkdebug:app:myapp]
restartSplunkd = 1
stateOnClient = enabled
excludeFromUpdate=myapp/.git
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;nor &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
excludeFromUpdate=$app_root$/.git
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;seems to work. &lt;/P&gt;

&lt;P&gt;Any hints?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206948#M40861</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2015-10-27T20:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does excludeFromUpdate not work in serverclass.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206949#M40862</link>
      <description>&lt;P&gt;What version are your deployment clients running? This particular setting requires &lt;EM&gt;both&lt;/EM&gt; the deployment server and its deployment clients to be running Splunk Enterprise 6.2 or higher.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:51:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206949#M40862</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2015-10-27T20:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why does excludeFromUpdate not work in serverclass.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206950#M40863</link>
      <description>&lt;P&gt;As hexx answered correctly you also need a v6.2 or higer client. &lt;/P&gt;

&lt;P&gt;Workaround for everyone having the same issue with the older clients using git: it's save enough to delete the .git//FETCH_HEAD everytime after git pull. &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 12:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206950#M40863</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2015-10-28T12:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why does excludeFromUpdate not work in serverclass.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206951#M40864</link>
      <description>&lt;P&gt;You're right. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 12:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206951#M40864</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2015-10-28T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does excludeFromUpdate not work in serverclass.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206952#M40865</link>
      <description>&lt;P&gt;Oh good, let me convert my comment to an answer then.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-excludeFromUpdate-not-work-in-serverclass-conf/m-p/206952#M40865</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2015-10-28T14:47:41Z</dc:date>
    </item>
  </channel>
</rss>

