Reporting

After migration from our standalone search head to a search head cluster, why are users unable to delete reports?

ejharts2015
Communicator

After migrating from our stand alone single instance splunk box to a clustered environment, including clustered search heads, we successfully migrated the items from our old "search" app to our new "search" app by renaming the old app "search_migration_app" and pushing it out to the search heads as per the instructions Migrate from a standalone search head to a search head cluster:
http://docs.splunk.com/Documentation/Splunk/6.3.1/DistSearch/Migratefromstandalonesearchheads

However this has left users unable to delete any reports or alerts contained within this "search_migration_app". The option just doesn't show up in their menus. Not even in the admin's menu. Sharing of the "search_migration_app" is also set to Global.

alt text

Any thoughts on how to fix this? Users would like to be able to delete these migrated reports.

0 Karma

Lucas_K
Motivator

You should have contacted splunk support and they could have provided you with a migration script (migrate_users.py) that would allows users to delete their knowledge objects.

What should have happened is that you used the script to migrate in their existing objects. This script duplicates the creation of each object via rest calls. These rest calls goto the captain which means that all objects correctly exist within the splunk search head cluster.
As such you can perform all the normal actions against them (delete etc).

You can potentially you could ...

Delete the search_migration_app on the deployer. Push bundle. Restart.
Run the script against the search_migration_app and get all the objects pulled into the captain.

Depending on the app structure and ownership of objects some manual file rejigging may be required.
Once run you will have all objects back and have normal full control again.

0 Karma

emiller42
Motivator

Note: in 6.3 deploying user scoped configs (private) via the deployer keeps them in a state where users can delete them from within the cluster normally. I assume the issue here is with anything in the 'search_migration_app' scope, which would still be merged down to default on bundle push.

0 Karma

emiller42
Motivator

Anything deployed via the cluster deployer has all of its config files moved from 'local' scope to 'default' scope. As such, it cannot be deleted via UI within the cluster itself. If you want to delete anything from your 'search_migration_app', you must remove it from the copy contained on the cluster deployer (in $SPLUNK_HOME/etc/shcluster/apps) and then execute a bundle push.

hortonew
Builder

Go into the app's metadata folder and make sure in either default.meta or local.meta it's not referencing the old apps name for permissions.

Also, make sure your configurations are in the local directory inside the app, not default. The page you linked to explains that users won't be able to delete items that are migrated in that fashion since they're in the default directory.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...