<?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: splunk forwarder up-gradation using tar file on custom path in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545046#M90890</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64690"&gt;@btshivanand&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;tar normally extract files to the splunk folder inside current directory.&lt;/P&gt;&lt;P&gt;You have two options;&lt;/P&gt;&lt;P&gt;Using -C argument with tar, below will install into /custom_path/splunk&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tar xvzf splunk_package_name.tgz -C /custom_path&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Or you can run tar inside /custom_path&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cd /custom_path
tar xvzf splunk_package_name.tgz&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 24 Mar 2021 06:40:11 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-03-24T06:40:11Z</dc:date>
    <item>
      <title>splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545045#M90889</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are planning to upgrade splunk forwarders with ansible. We observed that our forwarders are running on custom path and we cannot run splunk as root user .we were checking tar options but i am not understanding how we extract the tar file on custom path.&lt;/P&gt;&lt;P&gt;can any one help with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,Shivanand&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 06:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545045#M90889</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2021-03-24T06:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545046#M90890</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64690"&gt;@btshivanand&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;tar normally extract files to the splunk folder inside current directory.&lt;/P&gt;&lt;P&gt;You have two options;&lt;/P&gt;&lt;P&gt;Using -C argument with tar, below will install into /custom_path/splunk&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tar xvzf splunk_package_name.tgz -C /custom_path&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Or you can run tar inside /custom_path&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cd /custom_path
tar xvzf splunk_package_name.tgz&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Mar 2021 06:40:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545046#M90890</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-24T06:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545047#M90891</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;We are trying to upgrade existing version.i understand that we can extract the tar file on custom path but when we extract by default it creates folder call splunkforwarder.our custom path is&lt;/P&gt;&lt;DIV&gt;/opt/product/Splunk/splunkforwarder_xx&lt;/DIV&gt;&lt;DIV&gt;if i extract the file in&amp;nbsp;&lt;SPAN&gt;/opt/product/Splunk/ a new directory will get create call&amp;nbsp;splunkforwarder. it is not upgrading my custom path "splunkforwarder_xx"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i hope you understood my concern&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Mar 2021 06:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545047#M90891</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2021-03-24T06:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545051#M90893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64690"&gt;@btshivanand&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Now it is more clear.&lt;/P&gt;&lt;P&gt;So, you can extract tar to /tmp folder, then move it to&amp;nbsp;&lt;SPAN&gt;opt/product/Splunk/splunkforwarder_xx path.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Splunk will make the upgrade when you restart the service.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 07:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545051#M90893</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-24T07:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545054#M90894</link>
      <description>&lt;P&gt;Thanks.. just need some mor clarification.&lt;/P&gt;&lt;P&gt;if i extract under /tmp splunkforwarder dir will create. i need to move this directory to /&lt;SPAN&gt;opt/product/Splunk/splunkforwarder_xx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cp -r&amp;nbsp;splunkforwarder&amp;nbsp;/opt/product/Splunk/splunkforwarder_xx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you confirm my understanding correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We dont miss any configuration which is configured in&amp;nbsp; input and output.conf&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards, Shivanand&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 07:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545054#M90894</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2021-03-24T07:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545068#M90898</link>
      <description>&lt;P&gt;Yes, correct. Your configuration files should be sitting on &lt;STRONG&gt;local&lt;/STRONG&gt; folders. Since installation package has no local config it will not affect.&lt;/P&gt;&lt;P&gt;In any case it is better for you to test the procedure on a few test systems, after that put inside ansible.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 07:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545068#M90898</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-24T07:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545069#M90899</link>
      <description>&lt;P&gt;Thanks a lot.. thats the plan we will test in one of the environment before putting into the ansible.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 08:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545069#M90899</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2021-03-24T08:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: splunk forwarder up-gradation using tar file on custom path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545082#M90907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64690"&gt;@btshivanand&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To resolve the issue first move your existing custom package from splunkforwarder_xxx to splunkforwarder&lt;/P&gt;&lt;P&gt;then unzip the new version on the existing folder. Once it is upgraded move your new version folder name to old name.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 09:11:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-forwarder-up-gradation-using-tar-file-on-custom-path/m-p/545082#M90907</guid>
      <dc:creator>Vardhan</dc:creator>
      <dc:date>2021-03-24T09:11:43Z</dc:date>
    </item>
  </channel>
</rss>

