<?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: Removing Unix App without affecting index in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606287#M77224</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234669"&gt;@mike_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 06:34:53 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-07-20T06:34:53Z</dc:date>
    <item>
      <title>What is the best way to remove this app without affecting the index?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605923#M77198</link>
      <description>&lt;P&gt;I have a standalone instance of Splunk. I am running both:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Splunk Add-on for Unix and Linux, and&lt;/LI&gt;
&lt;LI&gt;Splunk App for Unix.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Since the Splunk App for Unix has reached End-of-Life and is not required in my deployment anymore i am looking to remove it. Initially i tried just using Splunk command:&lt;/P&gt;
&lt;P&gt;./splunk remove app splunk_app_for_nix&lt;/P&gt;
&lt;P&gt;However noticed that this impacts the index "os" used by the Splunk Add-on for Unix and Linux. The index no longer appears in the web gui under &lt;STRONG&gt;settings&amp;gt;indexes&lt;/STRONG&gt;. If i look in the CLI, i can still see data in /opt/splunk/os/db, so the data still appears to be there, but is not being used apparently.... I am getting Message saying "Received event for unconfigured/disabled/deleted index=os ...", so am not entirely sure what the status of this index is now.&lt;/P&gt;
&lt;P&gt;What is the best way to remove this app without affecting the index?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 00:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605923#M77198</guid>
      <dc:creator>mike_k</dc:creator>
      <dc:date>2022-07-19T00:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605931#M77201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234669"&gt;@mike_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Check if indexes.conf is in this app or in in the Splunk TA_nix: if indexes.conf is in this App, move it into the TA-nix.&lt;/P&gt;&lt;P&gt;Then check inputs.conf, props.conf and transforms.conf, but they should already be in the TA-nix, in every case, check eventual differences (they shouldn't be present).&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 06:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605931#M77201</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-18T06:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605940#M77204</link>
      <description>&lt;P&gt;Rolled back my server to a snapshot earlier today so i could have a look at the starting point, before i'd made any changes.&lt;/P&gt;&lt;P&gt;Looking through splunk_app_for_nix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;no index.conf present&lt;/LI&gt;&lt;LI&gt;inputs.conf, props.conf and transforms.conf in the default folder, don't seem to make reference to the index at all.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Looking at Splunk_TA_nix. The Default folder has a copy of indexes.conf which does define the indexes.&lt;/P&gt;&lt;P&gt;So, so far so good i think.&lt;/P&gt;&lt;P&gt;Although went and had a look at the configuration screen of the Splunk App for Unix. I noticed that it had a reference to index=os in the settings tab. Could this have caused the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:11:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605940#M77204</guid>
      <dc:creator>mike_k</dc:creator>
      <dc:date>2022-07-18T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605942#M77205</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234669"&gt;@mike_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you have the definition of os index in indexes.conf in TA-nix&amp;nbsp; and there isn't any difference in props.conf and transforms.conf, you shouldn't have problems to delete the nix app, but, did you checked both default and local folders in nix App?&lt;/P&gt;&lt;P&gt;Maybe the problem is another: in the inputs.conf stanzas (in TA-nix), is there the indication of index (index=os) or not?&lt;/P&gt;&lt;P&gt;You should have it.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/605942#M77205</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-18T07:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606074#M77213</link>
      <description>&lt;P&gt;So looking through the Splunk_TA_nix add-on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The add-ons indexes.conf does reference index os. (which is good).&lt;/LI&gt;&lt;LI&gt;The add-ons local/inputs.conf also references the index os (which is good).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Looking through the splunk_app_for_nix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;it doesn't have an indexes.conf defined at all.&lt;/LI&gt;&lt;LI&gt;inputs.conf, props.conf, transforms.conf don't reference index os.&lt;/LI&gt;&lt;LI&gt;I did notice that the app has a conf file &lt;STRONG&gt;default/macros.conf&lt;/STRONG&gt; and &lt;STRONG&gt;local/macros.conf&lt;/STRONG&gt; which do reference index=os.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went into the splunk_app_for_nix and looked at the settings tab. I changed the value for index on this settings tab in the GUI, so that it referenced a dummy index rather than the index os (which it does by default). Then i went and used the &lt;STRONG&gt;./splunk remove app&lt;/STRONG&gt; command. The app was removed&amp;nbsp; without affecting the index :-). So it must have been the GUI setup writing to the splunk_app_for_nix&lt;STRONG&gt; macros.conf&lt;/STRONG&gt; file which was causing the linkage to the index os and causing me pain when i removed the app.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 00:03:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606074#M77213</guid>
      <dc:creator>mike_k</dc:creator>
      <dc:date>2022-07-19T00:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606091#M77214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234669"&gt;@mike_k&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 06:31:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606091#M77214</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-19T06:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606261#M77221</link>
      <description>&lt;P&gt;Actually after a little more experimentation i discovered that the above listed resolution wasn't actually the solution. I had been doing two separate activities around the same time:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;removing the old unix App&lt;/LI&gt;&lt;LI&gt;upgrading the Splunk_TA_nix add-on as well.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It turns out that it was the upgrade (rather than the removal) that was causing my issues. The upgrade was blatting out my default and local indexes.conf files. After the upgrade i just needed to replace these files.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 04:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606261#M77221</guid>
      <dc:creator>mike_k</dc:creator>
      <dc:date>2022-07-20T04:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Unix App without affecting index</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606287#M77224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234669"&gt;@mike_k&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 06:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-way-to-remove-this-app-without-affecting-the/m-p/606287#M77224</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-20T06:34:53Z</dc:date>
    </item>
  </channel>
</rss>

