<?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: How do I find an orphaned search in Splunk 6.4.1? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235405#M188538</link>
    <description>&lt;P&gt;from &lt;A href="https://answers.splunk.com/answers/418132/orphaned-scheduled-search-doesnt-work.html" target="_blank"&gt;https://answers.splunk.com/answers/418132/orphaned-scheduled-search-doesnt-work.html&lt;/A&gt;&lt;BR /&gt;
please check &lt;BR /&gt;
    | rest splunk_server=local /services/saved/searches add_orphan_field=1&lt;BR /&gt;
or&lt;BR /&gt;
    | rest splunk_server=local /services/saved/searches&lt;BR /&gt;
or &lt;BR /&gt;
| rest /servicesNS/-/-/saved/searches add_orphan_field=yes count=0&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 12:33:00 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2020-09-29T12:33:00Z</dc:date>
    <item>
      <title>How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235404#M188537</link>
      <description>&lt;P&gt;After migrating to 6.4.1, we are now notified of orphaned objects. Cleaned them up or cloned them to new ones, but one remains:&lt;/P&gt;

&lt;P&gt;Splunk has found 1 orphaned searches owned by 1 unique disabled users. Click to view the orphaned scheduled searches. Reassign them to a valid user to re-enable or alternatively disable the searches.&lt;BR /&gt;
I have the admin role and user context/app all, but I'm still not able to locate the user/search name. Is there some way to rebuild any repository or config files? It now seems there's some ghost object in the system.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 08:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235404#M188537</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2016-08-23T08:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235405#M188538</link>
      <description>&lt;P&gt;from &lt;A href="https://answers.splunk.com/answers/418132/orphaned-scheduled-search-doesnt-work.html" target="_blank"&gt;https://answers.splunk.com/answers/418132/orphaned-scheduled-search-doesnt-work.html&lt;/A&gt;&lt;BR /&gt;
please check &lt;BR /&gt;
    | rest splunk_server=local /services/saved/searches add_orphan_field=1&lt;BR /&gt;
or&lt;BR /&gt;
    | rest splunk_server=local /services/saved/searches&lt;BR /&gt;
or &lt;BR /&gt;
| rest /servicesNS/-/-/saved/searches add_orphan_field=yes count=0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235405#M188538</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-09-29T12:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235406#M188539</link>
      <description>&lt;P&gt;I tried all 3 commands and none seemed to identify orphaned searches.  maybe I am not sure how to interpret the output.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235406#M188539</guid>
      <dc:creator>darlas</dc:creator>
      <dc:date>2017-01-26T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235407#M188540</link>
      <description>&lt;P&gt;this works in 6.4.4.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest 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;</description>
      <pubDate>Thu, 26 Jan 2017 19:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235407#M188540</guid>
      <dc:creator>yahuja_splunk</dc:creator>
      <dc:date>2017-01-26T19:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235408#M188541</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;Thanks for this idea.  I get "connection failed with Read timeout" when I run this.&lt;/P&gt;

&lt;P&gt;I'm on 6.5.1 so maybe this no longer works in latest version?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 20:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235408#M188541</guid>
      <dc:creator>darlas</dc:creator>
      <dc:date>2017-01-26T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235409#M188542</link>
      <description>&lt;P&gt;may be. i am not sure. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 20:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235409#M188542</guid>
      <dc:creator>yahuja_splunk</dc:creator>
      <dc:date>2017-01-26T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235410#M188543</link>
      <description>&lt;P&gt;works fine here on 6.5.1. does executing the first line only give output? (and yeah first time got the '5.' included in the copy/paste which of course does not work ;))&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 14:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235410#M188543</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2017-01-27T14:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235411#M188544</link>
      <description>&lt;P&gt;@darlas Did you get a solution to this? I upgraded to 6.5.2 and facing the same "connection failed with Read timeout" situation.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2017 04:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235411#M188544</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2017-04-09T04:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235412#M188545</link>
      <description>&lt;P&gt;sorry no solution.  just living with the orphaned searches for now.  sorry to not be of any help to you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235412#M188545</guid>
      <dc:creator>darlas</dc:creator>
      <dc:date>2017-04-10T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235413#M188546</link>
      <description>&lt;P&gt;Try removing the splunk_server=local within the first | rest query.&lt;BR /&gt;
This one worked for me:&lt;BR /&gt;
    | rest /servicesNS/-/-/saved/searches add_orphan_field=yes count=0&lt;BR /&gt;
     | search orphan=1 disabled=0 is_scheduled=1&lt;BR /&gt;
     | eval status = if(disabled = 0, "enabled", "disabled")&lt;BR /&gt;
     | fields title eai:acl.owner eai:acl.app eai:acl.sharing orphan status is_scheduled cron_schedule next_scheduled_time next_scheduled_time actions&lt;BR /&gt;
     | rename title AS "search name" eai:acl.owner AS owner eai:acl.app AS app eai:acl.sharing AS sharing&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:05:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235413#M188546</guid>
      <dc:creator>christian_l</dc:creator>
      <dc:date>2020-09-29T14:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235414#M188547</link>
      <description>&lt;P&gt;Try this..&lt;/P&gt;

&lt;P&gt;| rest splunk_server=local /servicesNS/-/-/saved/searches add_orphan_field=yes count=0 &lt;BR /&gt;
| search orphan=1 disabled=0 is_scheduled=1 &lt;BR /&gt;
| eval status = if(disabled = 0, "enabled", "disabled") &lt;BR /&gt;
| fields title eai:acl.owner eai:acl.app eai:acl.sharing orphan status is_scheduled cron_schedule next_scheduled_time next_scheduled_time actions &lt;BR /&gt;
| rename title AS "search name" eai:acl.owner AS owner eai:acl.app AS app eai:acl.sharing AS sharing&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235414#M188547</guid>
      <dc:creator>dhruv05</dc:creator>
      <dc:date>2020-09-29T16:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find an orphaned search in Splunk 6.4.1?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235415#M188548</link>
      <description>&lt;P&gt;Yes that is the most correct answer. Thanks Yahuja.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-find-an-orphaned-search-in-Splunk-6-4-1/m-p/235415#M188548</guid>
      <dc:creator>duartet</dc:creator>
      <dc:date>2018-03-23T09:49:04Z</dc:date>
    </item>
  </channel>
</rss>

