<?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: Preserve data inputs when upgrading custom app in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516230#M9216</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My previous message was in regards to where the active, correct configuration is stored.&lt;/P&gt;&lt;P&gt;Your message led me to look inside the archive and I found that, by default, the file &lt;FONT face="courier new,courier"&gt;&amp;lt;appName&amp;gt;_&amp;lt;appVersion&amp;gt;_export.tgz/&amp;lt;appName&amp;gt;_&amp;lt;appVersion&amp;gt;_export.tgz/&amp;lt;appName&amp;gt;/local/inputs.conf&lt;/FONT&gt; exists and contains the default / generic config. Simply deleting that file from the archive solves the problem because it can't be used to overwrite the live file.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2020 10:29:08 GMT</pubDate>
    <dc:creator>benhooper</dc:creator>
    <dc:date>2020-08-26T10:29:08Z</dc:date>
    <item>
      <title>How to preserve all configured data inputs when upgrading a custom app using Splunk Add-on Builder?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516224#M9212</link>
      <description>&lt;P&gt;I've found that upgrading a custom app built with&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/2962/" target="_self"&gt;Splunk Add-on Builder&lt;/A&gt;&amp;nbsp;is clearing all configured data inputs. Is there a way to prevent this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-26 10-43-41 - Settings__Splunk_-_Google_Chrome.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10520iA6FAAF3AF81DE6FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-26 10-43-41 - Settings__Splunk_-_Google_Chrome.png" alt="2020-08-26 10-43-41 - Settings__Splunk_-_Google_Chrome.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-26 10-44-44 - Inputs_-_Google_Chrome.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10518iF6FE2C23444FE646/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-26 10-44-44 - Inputs_-_Google_Chrome.png" alt="2020-08-26 10-44-44 - Inputs_-_Google_Chrome.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-26 10-45-38 - Settings__Splunk_-_Google_Chrome.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10517i2CA3D0B1A9C034A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-26 10-45-38 - Settings__Splunk_-_Google_Chrome.png" alt="2020-08-26 10-45-38 - Settings__Splunk_-_Google_Chrome.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-26 10-47-02 - Settings__Splunk_-_Google_Chrome.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10519i8DDE2DDA89F59B15/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-26 10-47-02 - Settings__Splunk_-_Google_Chrome.png" alt="2020-08-26 10-47-02 - Settings__Splunk_-_Google_Chrome.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-26 10-47-23 - Inputs_-_Google_Chrome.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10521iCEF09B5FFA25F7A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-26 10-47-23 - Inputs_-_Google_Chrome.png" alt="2020-08-26 10-47-23 - Inputs_-_Google_Chrome.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 21:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516224#M9212</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-09-25T21:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516225#M9213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224768"&gt;@benhooper&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;My guess is, that the definitions / .conf files were stored in the ./default directory of the app and not ./local, so they were overwritten when the app was updated.&lt;BR /&gt;&lt;BR /&gt;BR&amp;nbsp;&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:00:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516225#M9213</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-08-26T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516227#M9214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good idea but I've just checked and found that this configuration is stored in file&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/splunk/etc/apps/&amp;lt;app name&amp;gt;/&lt;STRONG&gt;local&lt;/STRONG&gt;/inputs.conf&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:10:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516227#M9214</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-08-26T10:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516228#M9215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224768"&gt;@benhooper&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Hmm, ok. Is it stored in ./local within structure of the tar.gz of the app? That would be against the law &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Or do you mean, the inputs.conf is still there in the filesystem, but you don't see it in the gui?&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:16:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516228#M9215</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-08-26T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516230#M9216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My previous message was in regards to where the active, correct configuration is stored.&lt;/P&gt;&lt;P&gt;Your message led me to look inside the archive and I found that, by default, the file &lt;FONT face="courier new,courier"&gt;&amp;lt;appName&amp;gt;_&amp;lt;appVersion&amp;gt;_export.tgz/&amp;lt;appName&amp;gt;_&amp;lt;appVersion&amp;gt;_export.tgz/&amp;lt;appName&amp;gt;/local/inputs.conf&lt;/FONT&gt; exists and contains the default / generic config. Simply deleting that file from the archive solves the problem because it can't be used to overwrite the live file.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516230#M9216</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-08-26T10:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516789#M9217</link>
      <description>&lt;P&gt;Bonus points to anyone who can tell me how I can prevent these files from being exported in the first place! It's a nuisance having to manually remove them every time I export.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 19:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516789#M9217</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-08-28T19:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516968#M9218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224768"&gt;@benhooper&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You mean to prevent that the inputs.conf of the tar.gz overwrites the inputs.conf of the App?&lt;BR /&gt;&lt;BR /&gt;The problem is with the archive itself, it should not have any inputs.conf in ./local. It should deliver its inputs.conf in the ./default directory. That way it would extract the new copy, but the app would still use the one in ./local because of conf file precedence rules.&lt;BR /&gt;&lt;BR /&gt;Where is the app coming from?&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 08:14:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/516968#M9218</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-08-31T08:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/517192#M9219</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The app is being exported from the &lt;A href="https://splunkbase.splunk.com/app/2962/" target="_self"&gt;Splunk Add-on Builder&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 09:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/517192#M9219</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-09-01T09:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve data inputs when upgrading custom app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/519402#M9220</link>
      <description>&lt;P&gt;BUMP.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 11:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-preserve-all-configured-data-inputs-when-upgrading-a/m-p/519402#M9220</guid>
      <dc:creator>benhooper</dc:creator>
      <dc:date>2020-09-14T11:38:22Z</dc:date>
    </item>
  </channel>
</rss>

