<?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 Orphaned Scheduled Search doesn't work in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221369#M4597</link>
    <description>&lt;P&gt;The Orphaned Scheduled Search that runs on 6.4 is not working. I have looked at it down to the point that I know that this search doesn't work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/saved/searches add_orphan_field=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;while this one does work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/saved/searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The latter one times out without returning any results.&lt;/P&gt;

&lt;P&gt;Can anyone tell me why, or what I can do to make this work?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2016 20:38:51 GMT</pubDate>
    <dc:creator>cpetterborg</dc:creator>
    <dc:date>2016-06-16T20:38:51Z</dc:date>
    <item>
      <title>Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221369#M4597</link>
      <description>&lt;P&gt;The Orphaned Scheduled Search that runs on 6.4 is not working. I have looked at it down to the point that I know that this search doesn't work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/saved/searches add_orphan_field=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;while this one does work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/saved/searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The latter one times out without returning any results.&lt;/P&gt;

&lt;P&gt;Can anyone tell me why, or what I can do to make this work?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 20:38:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221369#M4597</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2016-06-16T20:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221370#M4598</link>
      <description>&lt;P&gt;I'm able to run both of those searches on 6.4.1. Can you let us know what error you are receiving? Are you running these from the local Splunk system?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 21:15:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221370#M4598</guid>
      <dc:creator>ryanoconnor</dc:creator>
      <dc:date>2016-06-16T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221371#M4599</link>
      <description>&lt;P&gt;We have a search head cluster with 5 SH's, and I've run it from each one of the search heads. We are all on-prem.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1491i71C5691E6F90BEA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221371#M4599</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2016-06-20T16:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221372#M4600</link>
      <description>&lt;P&gt;This seems network related and not as much about the add_orphan_field parameter. Are you using a load balancer for your Search Head Cluster? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221372#M4600</guid>
      <dc:creator>ryanoconnor</dc:creator>
      <dc:date>2020-09-29T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221373#M4601</link>
      <description>&lt;P&gt;Yes, and it is set to load balance the rest calls, too.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:12:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221373#M4601</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2016-06-20T16:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221374#M4602</link>
      <description>&lt;P&gt;I can confirm that this fails on 6.4.0, even when run directly on a search head part of a cluster. (i.e. bypassing the load balancer)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 13:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221374#M4602</guid>
      <dc:creator>greich</dc:creator>
      <dc:date>2016-11-07T13:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221375#M4603</link>
      <description>&lt;P&gt;Same running 6.4.4. It is not network related.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 13:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221375#M4603</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-11-07T13:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221376#M4604</link>
      <description>&lt;P&gt;Nice to know I'm not crazy. Now I just have to wait for 6.5.1 to see if it's fixed. I never install x.x.0 in production. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 16:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221376#M4604</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2016-11-07T16:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221377#M4605</link>
      <description>&lt;P&gt;I've now upgraded to 6.5.0 and have the same problem. With nearly 7000 users' worth of possible churn, I get to have a gold badge on all my search heads pretty much forever. Even after finding the culprits, which in itself is not easy, resolving them is such a pain in the ass.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2016 00:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221377#M4605</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-11-20T00:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221378#M4606</link>
      <description>&lt;P&gt;This appears to be a known issue where a search can fail in a rest call timeout if LDAP, SAML, requests for all users take more than 60 seconds. This bug is fixed in 6.4.6 and 6.5.3. As a workaround you can try increasing the rest timeout integer value&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;workaround:&lt;/STRONG&gt;&lt;BR /&gt;
Increase the timeout for | REST specified here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Rest" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Rest&lt;/A&gt; &lt;BR /&gt;
| rest timeout= &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;example:&lt;/STRONG&gt;&lt;BR /&gt;
| rest timeout=600 splunk_server=local /services/saved/searches add_orphan_field=yes&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221378#M4606</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2020-09-29T13:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221379#M4607</link>
      <description>&lt;P&gt;In some cases increasing the REST timeout will not be sufficient. This was seen in a Splunk environment on 6.5.2 (SHC) with 350 orphaned searches &amp;amp; an LDAP setup with 1500 users still times out.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest timeout=1800 splunk_server=local /servicesNS/-/-/saved/searches add_orphan_field=yes count=0 
| search orphan=1 disabled=0 is_scheduled=1 
| eval status = if(disabled = 0, "enabled", "disabled") 
| fields title eai:acl.owner eai:acl.app eai:acl.sharing orphan status is_scheduled cron_schedule next_scheduled_time next_scheduled_time actions 
| rename title AS "search name" eai:acl.owner AS owner eai:acl.app AS app eai:acl.sharing AS sharing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The dev environment with 10 orphaned searches authenticating against the same LDAP environment did not timeout and returned the orphaned searches. &lt;/P&gt;

&lt;P&gt;This issue is documented under:&lt;BR /&gt;
SPL-129285  The search scheduler (SavedSplunker) has scaling problems with high disabled user count and external auth systems (SAML &amp;amp; LDAP)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/ReleaseNotes/Knownissues"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/ReleaseNotes/Knownissues&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 23:53:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221379#M4607</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2017-04-21T23:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Orphaned Scheduled Search doesn't work</title>
      <link>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221380#M4608</link>
      <description>&lt;P&gt;Do you have any other workaround?&lt;BR /&gt;
How did you solve this problem?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Orphaned-Scheduled-Search-doesn-t-work/m-p/221380#M4608</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2017-06-12T12:50:46Z</dc:date>
    </item>
  </channel>
</rss>

