<?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 Reloading savedsearches for given app in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/547995#M8966</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Previously we used to use the endpoint /servicesNS/nobody/my_app_name/admin/savedsearch/_reload to reload savedsearches while the search head was online.&lt;/P&gt;&lt;P&gt;Since moving to Splunk 8, this endpoint does nothing. Searches are still running if I set disabled=1 manually in the config, yet the endpoint returns a 200 OK, as below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk//bin/splunk _internal call /servicesNS/-/-/admin/savedsearch/_reload -user admin
QUERYING: 'https://127.0.0.1:8089/servicesNS/-/-/admin/savedsearch/_reload'
HTTP Status: 200.
Content:
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .--&amp;gt;
&amp;lt;?xml-stylesheet type="text/xml" href="/static/atom.xsl"?&amp;gt;
&amp;lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"&amp;gt;
&amp;lt;title&amp;gt;savedsearch&amp;lt;/title&amp;gt;
&amp;lt;id&amp;gt;https://127.0.0.1:8089/servicesNS/-/-/admin/savedsearch&amp;lt;/id&amp;gt;
&amp;lt;updated&amp;gt;2021-04-15T11:22:04+02:00&amp;lt;/updated&amp;gt;
&amp;lt;generator build="63079c59e632" version="8.1.3"/&amp;gt;
&amp;lt;author&amp;gt;
&amp;lt;name&amp;gt;Splunk&amp;lt;/name&amp;gt;
&amp;lt;/author&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_new" rel="create"/&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_reload" rel="_reload"/&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_acl" rel="_acl"/&amp;gt;
&amp;lt;opensearch:totalResults&amp;gt;0&amp;lt;/opensearch:totalResults&amp;gt;
&amp;lt;opensearch:itemsPerPage&amp;gt;30&amp;lt;/opensearch:itemsPerPage&amp;gt;
&amp;lt;opensearch:startIndex&amp;gt;0&amp;lt;/opensearch:startIndex&amp;gt;
&amp;lt;s:messages/&amp;gt;
&amp;lt;/feed&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this changed? Are we not able to manually hit this endpoint anymore?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We can still hit &lt;A href="https://localhost:8089/en-GB/debug/refresh" target="_blank"&gt;https://localhost:8089/en-GB/debug/refresh&lt;/A&gt;&amp;nbsp;to reload all entities (specifying entity=admin/savedsearch doesn't seem to work either), but this can time out on behemoth search heads and leaves us having to restart the search head if the config is not applying.&lt;BR /&gt;&lt;BR /&gt;Is there anything we can do about this? How do we trigger a manual reload of the savedsearch config in Splunk 8?&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Kind regards,&lt;BR /&gt;Alex&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2021 09:38:01 GMT</pubDate>
    <dc:creator>althomas</dc:creator>
    <dc:date>2021-04-15T09:38:01Z</dc:date>
    <item>
      <title>Reloading savedsearches for given app</title>
      <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/547995#M8966</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Previously we used to use the endpoint /servicesNS/nobody/my_app_name/admin/savedsearch/_reload to reload savedsearches while the search head was online.&lt;/P&gt;&lt;P&gt;Since moving to Splunk 8, this endpoint does nothing. Searches are still running if I set disabled=1 manually in the config, yet the endpoint returns a 200 OK, as below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk//bin/splunk _internal call /servicesNS/-/-/admin/savedsearch/_reload -user admin
QUERYING: 'https://127.0.0.1:8089/servicesNS/-/-/admin/savedsearch/_reload'
HTTP Status: 200.
Content:
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .--&amp;gt;
&amp;lt;?xml-stylesheet type="text/xml" href="/static/atom.xsl"?&amp;gt;
&amp;lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"&amp;gt;
&amp;lt;title&amp;gt;savedsearch&amp;lt;/title&amp;gt;
&amp;lt;id&amp;gt;https://127.0.0.1:8089/servicesNS/-/-/admin/savedsearch&amp;lt;/id&amp;gt;
&amp;lt;updated&amp;gt;2021-04-15T11:22:04+02:00&amp;lt;/updated&amp;gt;
&amp;lt;generator build="63079c59e632" version="8.1.3"/&amp;gt;
&amp;lt;author&amp;gt;
&amp;lt;name&amp;gt;Splunk&amp;lt;/name&amp;gt;
&amp;lt;/author&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_new" rel="create"/&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_reload" rel="_reload"/&amp;gt;
&amp;lt;link href="/servicesNS/-/-/admin/savedsearch/_acl" rel="_acl"/&amp;gt;
&amp;lt;opensearch:totalResults&amp;gt;0&amp;lt;/opensearch:totalResults&amp;gt;
&amp;lt;opensearch:itemsPerPage&amp;gt;30&amp;lt;/opensearch:itemsPerPage&amp;gt;
&amp;lt;opensearch:startIndex&amp;gt;0&amp;lt;/opensearch:startIndex&amp;gt;
&amp;lt;s:messages/&amp;gt;
&amp;lt;/feed&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this changed? Are we not able to manually hit this endpoint anymore?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We can still hit &lt;A href="https://localhost:8089/en-GB/debug/refresh" target="_blank"&gt;https://localhost:8089/en-GB/debug/refresh&lt;/A&gt;&amp;nbsp;to reload all entities (specifying entity=admin/savedsearch doesn't seem to work either), but this can time out on behemoth search heads and leaves us having to restart the search head if the config is not applying.&lt;BR /&gt;&lt;BR /&gt;Is there anything we can do about this? How do we trigger a manual reload of the savedsearch config in Splunk 8?&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Kind regards,&lt;BR /&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/547995#M8966</guid>
      <dc:creator>althomas</dc:creator>
      <dc:date>2021-04-15T09:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading savedsearches for given app</title>
      <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/548000#M8967</link>
      <description>&lt;P&gt;As far as I can tell, this is a bug.&lt;BR /&gt;&lt;BR /&gt;Documentation:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/RESTUM/RESTusing#Reload_endpoint" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.3/RESTUM/RESTusing#Reload_endpoint&lt;/A&gt;&lt;BR /&gt;Excerpt:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;Reload endpoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Append&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_reload&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to a URL to force the server to reload data for the endpoint:&lt;/P&gt;&lt;DIV class="samplecode"&gt;&lt;PRE&gt;curl -k -u admin:pass https://localhost:8089/servicesNS/admin/search/saved/searches/_reload&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;You can use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_reload&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for all saved searches but not for a single saved search.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If we run this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin https://localhost:8089/servicesNS/nobody/search/saved/searches/_reload
Enter host password for user 'admin':
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .--&amp;gt;
&amp;lt;?xml-stylesheet type="text/xml" href="/static/atom.xsl"?&amp;gt;
&amp;lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"&amp;gt;
  &amp;lt;title&amp;gt;savedsearch&amp;lt;/title&amp;gt;
  &amp;lt;id&amp;gt;https://localhost:8089/servicesNS/nobody/search/saved/searches&amp;lt;/id&amp;gt;
  &amp;lt;updated&amp;gt;2021-04-15T12:56:45+02:00&amp;lt;/updated&amp;gt;
  &amp;lt;generator build="63079c59e632" version="8.1.3"/&amp;gt;
  &amp;lt;author&amp;gt;
    &amp;lt;name&amp;gt;Splunk&amp;lt;/name&amp;gt;
  &amp;lt;/author&amp;gt;
  &amp;lt;link href="/servicesNS/nobody/search/saved/searches/_new" rel="create"/&amp;gt;
  &amp;lt;link href="/servicesNS/nobody/search/saved/searches/_reload" rel="_reload"/&amp;gt;
  &amp;lt;link href="/servicesNS/nobody/search/saved/searches/_acl" rel="_acl"/&amp;gt;
  &amp;lt;opensearch:totalResults&amp;gt;0&amp;lt;/opensearch:totalResults&amp;gt;
  &amp;lt;opensearch:itemsPerPage&amp;gt;30&amp;lt;/opensearch:itemsPerPage&amp;gt;
  &amp;lt;opensearch:startIndex&amp;gt;0&amp;lt;/opensearch:startIndex&amp;gt;
  &amp;lt;s:messages/&amp;gt;
&amp;lt;/feed&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;we get a 200/OK but still no update&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 10:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/548000#M8967</guid>
      <dc:creator>althomas</dc:creator>
      <dc:date>2021-04-15T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading savedsearches for given app</title>
      <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555141#M9160</link>
      <description>&lt;P&gt;Any update on this? We can't manually hit this one and have it update either.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 17:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555141#M9160</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-06-09T17:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading savedsearches for given app</title>
      <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555257#M9168</link>
      <description>&lt;P&gt;Thanks for reminding me that I still had this open. &lt;STRONG&gt;This is fixed in version 8.1.4&lt;/STRONG&gt;.&amp;nbsp; I escalated to support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;that this specific behavior matches our internal case &lt;STRONG&gt;SPL-203763&lt;/STRONG&gt; "savedsearches.conf is not updated after upgrading to 8.1.0 because REST API endpoint is not reloaded". It has been now fixed on Splunk version 8.1.4. Please let me know if I can be of any further assistance.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 08:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555257#M9168</guid>
      <dc:creator>althomas</dc:creator>
      <dc:date>2021-06-10T08:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading savedsearches for given app</title>
      <link>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555311#M9169</link>
      <description>&lt;P&gt;Workaround below:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use endpoint&amp;nbsp;&lt;/SPAN&gt;/servicesNS/nobody/&amp;lt;app_name&amp;gt;/admin/localapps/_reload&lt;SPAN&gt;&amp;nbsp; with GET request&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 14:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Reloading-savedsearches-for-given-app/m-p/555311#M9169</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-06-10T14:07:39Z</dc:date>
    </item>
  </channel>
</rss>

