<?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: REST API Install local App in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Install-local-App/m-p/354280#M64794</link>
    <description>&lt;P&gt;Hi @sushantvn,&lt;/P&gt;

&lt;P&gt;The app file should be available to the splunk server where it's being installed. &lt;BR /&gt;
Please refer to &lt;A href="https://answers.splunk.com/answers/122655/using-the-rest-api-to-install-an-app-from-a-file.html"&gt;https://answers.splunk.com/answers/122655/using-the-rest-api-to-install-an-app-from-a-file.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 04:40:50 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2018-03-21T04:40:50Z</dc:date>
    <item>
      <title>REST API Install local App</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Install-local-App/m-p/354279#M64793</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to install an app on my local computer to a remote Splunk instance using rest api. I get the following error.&lt;/P&gt;

&lt;P&gt;This is the rest call that I'm trying&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST \
  &lt;A href="https://splunk-dev.company.com/services/apps/local" target="test_blank"&gt;https://splunk-dev.company.com/services/apps/local&lt;/A&gt; \
  -H 'Authorization: Splunk sessionKey' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'name=/tmp/splunk-add-on-1.0.tgz&amp;amp;update=True&amp;amp;filename=True&amp;amp;auth=sessionKey&amp;amp;session=sessionKey'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get a response&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;Error during app install: failed to extract app from /tmp/splunk-add-on-1.0.tgz to /opt/splunk/var/run/splunk/bundle_tmp/0fdba2269ccdff6e: No such file or directory&amp;lt;/msg&amp;gt;
&amp;lt;/messages&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The app is packaged into a tarball using a jenkins job and now I would like to upload it to the test server.&lt;BR /&gt;
Do I have to make the tarball available on the Splunk server?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 08:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Install-local-App/m-p/354279#M64793</guid>
      <dc:creator>sushantvn</dc:creator>
      <dc:date>2018-03-15T08:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Install local App</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-Install-local-App/m-p/354280#M64794</link>
      <description>&lt;P&gt;Hi @sushantvn,&lt;/P&gt;

&lt;P&gt;The app file should be available to the splunk server where it's being installed. &lt;BR /&gt;
Please refer to &lt;A href="https://answers.splunk.com/answers/122655/using-the-rest-api-to-install-an-app-from-a-file.html"&gt;https://answers.splunk.com/answers/122655/using-the-rest-api-to-install-an-app-from-a-file.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 04:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-Install-local-App/m-p/354280#M64794</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-03-21T04:40:50Z</dc:date>
    </item>
  </channel>
</rss>

