<?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: Change App and Object Ownership in Security</title>
    <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34672#M1164</link>
    <description>&lt;P&gt;Hi sowings.. this solution worked perfectly for me as well. Employee left the company and alerts stopped working after AD synced with splunk. Changed the owner by editing the local.meta file mentioned above and alerts are back in action. Thanks a ton for the tip.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Dec 2014 10:21:26 GMT</pubDate>
    <dc:creator>jim_george</dc:creator>
    <dc:date>2014-12-29T10:21:26Z</dc:date>
    <item>
      <title>Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34667#M1159</link>
      <description>&lt;P&gt;One of my Splunk users has left the company. She owned an App and many saved searches, alerts, etc that all have her name on them. How can I change these to have the name of the new owner of this App? I considered just copying the contents of her $SPLUNK_HOME/etc/users/UserID/AppID/* to the new user's directory but he has already started to create 'stuff' and I did not want to overwrite his work. How might I get this done?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34667#M1159</guid>
      <dc:creator>rgcurry</dc:creator>
      <dc:date>2012-04-24T18:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34668#M1160</link>
      <description>&lt;P&gt;If you utilize the Splunk Manager, changing the scope (permissions) of an object like a savedsearch, macro, UI view, etc, will move it around the filesystem for you.  Consider changing it to have "application" scope, which will place it in the context of the owning application ($SPLUNK_HOME/etc/apps/&amp;lt;appname&amp;gt;), vs. the user tree, which only contains user-specific objects.  Otherwise, copying the contents elsewhere (perhaps creating a new homegrown app?) will work, too.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:12:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34668#M1160</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-24T18:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34669#M1161</link>
      <description>&lt;P&gt;It's not the scope I need to change -- the App's objects are already set to App level permission for sharing. In Manager / Apps, this App shows up with this former user's ID as the owner. I have been asked to change that to the current "owner". The alternative to copying to a new area of the file system does not seem to be the answer either as I will have the same files and their content, just now in a different place.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34669#M1161</guid>
      <dc:creator>rgcurry</dc:creator>
      <dc:date>2012-04-24T18:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34670#M1162</link>
      <description>&lt;P&gt;Ah, sorry, I misunderstood you.  The ownership of an object is set in a file called either default.meta (default permissions) or local.meta (overrides).  Both of these files live within the metadata/ subdirectory of a given application.  The owner is just a field in that file, though I don't know a direct way in the Manager to make these changes.  I'd find the local.meta file which contains the objects you want to chown, edit the &lt;CODE&gt;owner = &lt;/CODE&gt; part, and restart splunk.  I just did a simple test, and the new owner is reflected in the Manager.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34670#M1162</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-24T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34671#M1163</link>
      <description>&lt;P&gt;I think maybe I was not clear on this -- the App ownership was not in itself the issue but the objects in the app (saved searches, alerts, etc). I figured out what I needed to by snooping based on what sowings mentioned in his previous post and confirmed my suspicion in his last post above. I had to edit the $SPLUNK_HOME/etc/apps/{AppsDir}/metadata/local.meta config file that has old owner’s ID and change each occurrence of that to the new ower’s ID. The Search Head needs to be restarted for these changes to take effect. &lt;/P&gt;

&lt;P&gt;Thank you sowings for guidance on this.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 19:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34671#M1163</guid>
      <dc:creator>rgcurry</dc:creator>
      <dc:date>2012-04-24T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34672#M1164</link>
      <description>&lt;P&gt;Hi sowings.. this solution worked perfectly for me as well. Employee left the company and alerts stopped working after AD synced with splunk. Changed the owner by editing the local.meta file mentioned above and alerts are back in action. Thanks a ton for the tip.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 10:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34672#M1164</guid>
      <dc:creator>jim_george</dc:creator>
      <dc:date>2014-12-29T10:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change App and Object Ownership</title>
      <link>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34673#M1165</link>
      <description>&lt;P&gt;This solution did not work for me, but moving tags.conf and props.conf files from user-apps local directory to newuser-apps local directory worked for me.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 03:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Change-App-and-Object-Ownership/m-p/34673#M1165</guid>
      <dc:creator>dvg06</dc:creator>
      <dc:date>2016-01-28T03:35:24Z</dc:date>
    </item>
  </channel>
</rss>

