<?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: Saved searches export/import REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150962#M30724</link>
    <description>&lt;P&gt;You could use &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpackage"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpackage&lt;/A&gt; to package the app and install it on another server as any other app. Between those steps you can change savedsearches.conf in the archive as you need.&lt;/P&gt;</description>
    <pubDate>Sat, 03 May 2014 11:19:06 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-05-03T11:19:06Z</dc:date>
    <item>
      <title>How to export/import saved searches REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150961#M30723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to found a way to export through the REST API my saved searches.&lt;/P&gt;
&lt;P&gt;Running the following command seems to generate the correct export :&lt;/P&gt;
&lt;P&gt;curl -k -u admin:changeme https : //localhost:8089/servicesNS/ocs/-/saved/searches &amp;gt; saved_searches&lt;/P&gt;
&lt;P&gt;Now for the tricky part, I'm trying to adjust the file to import it back to another server.&lt;/P&gt;
&lt;P&gt;Could you help me determine if this is possible?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mathieu&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 15:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150961#M30723</guid>
      <dc:creator>mforgues</dc:creator>
      <dc:date>2022-04-07T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Saved searches export/import REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150962#M30724</link>
      <description>&lt;P&gt;You could use &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpackage"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpackage&lt;/A&gt; to package the app and install it on another server as any other app. Between those steps you can change savedsearches.conf in the archive as you need.&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2014 11:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150962#M30724</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-05-03T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Saved searches export/import REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150963#M30725</link>
      <description>&lt;P&gt;curl -k -u admin:pass https://[Splunk Host]:[Management Port]/services/apps/local/{name}/package&lt;/P&gt;

&lt;P&gt;+&lt;/P&gt;

&lt;P&gt;https://[Splunk Host]:[Management Port]/static/app-packages/{name}.spl &lt;/P&gt;

&lt;P&gt;Did the job &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Mathieu&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 15:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/150963#M30725</guid>
      <dc:creator>mforgues</dc:creator>
      <dc:date>2014-05-06T15:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Saved searches export/import REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/592876#M103769</link>
      <description>&lt;P&gt;Is there any new way how to do it with recent Splunk version?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 11:48:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-export-import-saved-searches-REST-API/m-p/592876#M103769</guid>
      <dc:creator>tro</dc:creator>
      <dc:date>2022-04-07T11:48:20Z</dc:date>
    </item>
  </channel>
</rss>

