<?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: Python script to upgrade forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-upgrade-forwarder/m-p/478703#M82176</link>
    <description>&lt;P&gt;There is a sample shell script provided by  SPLUNK. You can modify it based on your requirement.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/8.0.1/Forwarder/Installanixuniversalforwarderremotelywithastaticconfiguration#Create_and_execute_the_script"&gt;https://docs.splunk.com/Documentation/Forwarder/8.0.1/Forwarder/Installanixuniversalforwarderremotelywithastaticconfiguration#Create_and_execute_the_script&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 22:57:47 GMT</pubDate>
    <dc:creator>badrinath_itrs</dc:creator>
    <dc:date>2020-01-02T22:57:47Z</dc:date>
    <item>
      <title>Python script to upgrade forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-upgrade-forwarder/m-p/478702#M82175</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please give me the python script to upgrade rpm file of forwarder.&lt;/P&gt;

&lt;P&gt;Steps to upgrade&lt;/P&gt;

&lt;P&gt;1) Get the rpm file from Splunk site and place it in tmp location&lt;/P&gt;

&lt;P&gt;2) Take the backup of apps folder ----- cd /opt/splunkforwarder/etc&lt;/P&gt;

&lt;P&gt;3) cp -rf apps /tmp&lt;/P&gt;

&lt;P&gt;4) copy the rpm file to opt location&lt;BR /&gt;
Cp -rf splunk.rpm  /opt&lt;/P&gt;

&lt;P&gt;5) Stop splunk service&lt;BR /&gt;
Cd /etc/init.d&lt;BR /&gt;
./splunk stop&lt;/P&gt;

&lt;P&gt;6) upgrade file in cd /opt&lt;BR /&gt;
rpm -Uvh splunk.rpm&lt;/P&gt;

&lt;P&gt;7) start splunk&lt;BR /&gt;
Cd /etc/init.d&lt;BR /&gt;
./splunk start&lt;/P&gt;

&lt;P&gt;8)Go to cd /opt/splunk/bin&lt;BR /&gt;
./splunk version&lt;BR /&gt;
Y&lt;BR /&gt;
Y&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 21:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-upgrade-forwarder/m-p/478702#M82175</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2020-01-02T21:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to upgrade forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-upgrade-forwarder/m-p/478703#M82176</link>
      <description>&lt;P&gt;There is a sample shell script provided by  SPLUNK. You can modify it based on your requirement.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/8.0.1/Forwarder/Installanixuniversalforwarderremotelywithastaticconfiguration#Create_and_execute_the_script"&gt;https://docs.splunk.com/Documentation/Forwarder/8.0.1/Forwarder/Installanixuniversalforwarderremotelywithastaticconfiguration#Create_and_execute_the_script&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 22:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Python-script-to-upgrade-forwarder/m-p/478703#M82176</guid>
      <dc:creator>badrinath_itrs</dc:creator>
      <dc:date>2020-01-02T22:57:47Z</dc:date>
    </item>
  </channel>
</rss>

