<?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: Unable To Modify Owner Of Orphaned Scheduled Search in Security</title>
    <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389895#M13060</link>
    <description>&lt;P&gt;Thank you for the additional information - I located the remaining savedsearches in the app folders under the deleted user's directory. I had previously only removed the stanzas from &lt;CODE&gt;/$SPLUNK_HOME/etc/users/oldowner/local/savedsearches.conf&lt;/CODE&gt;. Once I moved the remaining stanzas the orphaned searches cleared.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jul 2018 15:03:24 GMT</pubDate>
    <dc:creator>sbair</dc:creator>
    <dc:date>2018-07-09T15:03:24Z</dc:date>
    <item>
      <title>Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389886#M13051</link>
      <description>&lt;P&gt;Splunk Version: 6.5.2&lt;/P&gt;

&lt;P&gt;I receive a notification for a list of orphaned searches owned by a disabled user. I have changed the owner and restarted Splunk, but it still shows up in the list of orphaned searches and still displays the original owner.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;search name: scheduled_search_test&lt;/LI&gt;
&lt;LI&gt;owner: oldowner&lt;/LI&gt;
&lt;LI&gt;app: sysadmin&lt;/LI&gt;
&lt;LI&gt;sharing: user&lt;/LI&gt;
&lt;LI&gt;status: enabled&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I modified /$SPLUNK_HOME/etc/apps/sysadmin/metadata/local.meta to change "oldowner" to "newowner" and restarted Splunk, but the search still shows up as orphaned and owned by "oldowner". Any suggestions would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389886#M13051</guid>
      <dc:creator>sbair</dc:creator>
      <dc:date>2020-09-29T20:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389887#M13052</link>
      <description>&lt;P&gt;start by checking on the search head whether the search itself is in the old owner's "local" directory.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 16:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389887#M13052</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-06-20T16:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389888#M13053</link>
      <description>&lt;P&gt;Thank you for the reply DalJeanis - I verified that there are no longer any saved searches under /$SPLUNK_HOME/etc/users/oldowner/local/savedsearches.conf, which appears to only affect unshared saved searches.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 17:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389888#M13053</guid>
      <dc:creator>sbair</dc:creator>
      <dc:date>2018-06-20T17:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389889#M13054</link>
      <description>&lt;P&gt;This is a correct method.  Are you in a Search Head Cluster?  Try deleting the &lt;CODE&gt;local.meta&lt;/CODE&gt; entry entirely.  This should cause it to become owned by &lt;CODE&gt;nobody&lt;/CODE&gt; but it should work just fine.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 21:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389889#M13054</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-06-30T21:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389890#M13055</link>
      <description>&lt;P&gt;Thank you for the reply - this is a standalone instance of Splunk. I removed the local.meta file for the app, restarted Splunk, and the orphaned scheduled searches still show up as owned by the deactivated owner.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389890#M13055</guid>
      <dc:creator>sbair</dc:creator>
      <dc:date>2018-07-05T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389891#M13056</link>
      <description>&lt;P&gt;"You can try editing the savedsearches.conf ofinvalid user, cut the stanza and paste it in the valid user "..&lt;/P&gt;

&lt;P&gt;If the orphaned report has not been shared with other users, it is defined entirely within the savedsearches.conf file at the user level.&lt;/P&gt;

&lt;P&gt;Cut the stanza for the search out of the savedsearches.conf file for the invalid user and paste it into the savedsearches.conf file for a valid user.&lt;/P&gt;

&lt;P&gt;In the filesystem of your Splunk deployment, open the the savedsearches.conf file for an invalid user at etc/users//search/local/savedsearches.conf.&lt;BR /&gt;
Locate the stanza for the orphaned scheduled search and cut it out.&lt;BR /&gt;
Save your changes to the file and close it.&lt;BR /&gt;
Open the the savedsearches.conf file for a valid user at etc/users//search/local/savedsearches.conf.&lt;BR /&gt;
Copy the search stanza that you just cut to the savedsearches.conf file for the valid user.&lt;BR /&gt;
Save your changes to the file and close it.&lt;BR /&gt;
Restart your Splunk deployment so the changes take effect.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389891#M13056</guid>
      <dc:creator>jagadeeshreddy2</dc:creator>
      <dc:date>2018-07-05T18:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389892#M13057</link>
      <description>&lt;P&gt;Check for a the same stuff in &lt;CODE&gt;$SPLUNK_HOME/etc/users/deleteduser/*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389892#M13057</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-05T20:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389893#M13058</link>
      <description>&lt;P&gt;The exact same saved search name (not necessarily with the same definition or settings) can exist at the app/global level &lt;EM&gt;and&lt;/EM&gt; the user level.  Check in &lt;CODE&gt;SPLUNK_HOME/etc/user/&amp;lt;deleted user&amp;gt;&lt;/CODE&gt; directory for a &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt; file.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389893#M13058</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-06T13:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389894#M13059</link>
      <description>&lt;P&gt;Thank you for the additional information - I located the remaining savedsearches in the app folders under the deleted user's directory. I had previously only removed the stanzas from &lt;CODE&gt;/$SPLUNK_HOME/etc/users/oldowner/local/savedsearches.conf&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:02:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389894#M13059</guid>
      <dc:creator>sbair</dc:creator>
      <dc:date>2018-07-09T15:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Modify Owner Of Orphaned Scheduled Search</title>
      <link>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389895#M13060</link>
      <description>&lt;P&gt;Thank you for the additional information - I located the remaining savedsearches in the app folders under the deleted user's directory. I had previously only removed the stanzas from &lt;CODE&gt;/$SPLUNK_HOME/etc/users/oldowner/local/savedsearches.conf&lt;/CODE&gt;. Once I moved the remaining stanzas the orphaned searches cleared.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-To-Modify-Owner-Of-Orphaned-Scheduled-Search/m-p/389895#M13060</guid>
      <dc:creator>sbair</dc:creator>
      <dc:date>2018-07-09T15:03:24Z</dc:date>
    </item>
  </channel>
</rss>

