Knowledge Management

How to move knowledge objects in bulk to another app?

Path Finder

Any ideas on how this can be achieved? The majority of objects reside in the search app. We are getting people used to using separate apps which means we have a load of moving to do.


Hi nwales

To move knowledge objects in bulk to another app

I advise you to create the app that you want it to contain theses knowledges objects using a customize app template. In this case choose search app like your app template

In splunk web go to "$SPLUNK_HOME/etc/apps/" folder , copy search app directory and paste it in "$SPLUNK_HOME/share/splunk/app_templates" folder .

After doing this restart splunkweb .
For creating of your app go to Apps > Manage Apps > create app . In the Add new panel you will see in drop down Template search app template. just select it and continuous to fill the fields.

Restart splunkweb

After all these steps will see all knowledges objects of search app in your new app.

For more information about app configurations see Splunk-6.1.1-Developing Views and Apps for Splunk Web

0 Karma


Yes. Stop Splunk first. Make a backup copy of the $SPLUNK_HOME/etc/apps folder and $SPLUNK_HOME/etc/users/ folder. You can then move shared knowledge objects out of $SPLUNK_HOME/etc/apps/search to other apps, using the same directory structure. For example, views under $SPLUNK_HOME/etc/apps/search/local/data/ui/views can be moved to $SPLUNK_HOME/etc/apps/YOURAPP/local/data/ui/views.

For objects that are not shared, the path is slightly different. For example, user "mason" may have private knowledge objects in the "search" app, which would be stored under $SPLUNK_HOME/etc/users/mason/search/local/data/ui/views. You will also find savedsearches.conf and the like in those directories. Just move them to your desired directories.

If you have a lot of objects, the easiest thing to do would be to share everything so that it's moved to the app's local folder (instead of the users' folders), and then move objects to other app folders as desired.

Once complete, start Splunk and you should be golden.

Path Finder

Is there another way to share a Data Model/Pivot/Dashboard/View etc between Search and Report app and another custom app? I tried with permissions at all levels on all item of the data and presentation chain, without results. Custom app doesn't see objects created in Search app.

My question is there is any other way by console other than moveing manually data and folders?

0 Karma

Path Finder

That makes sense, I have thousands of objects and they will be going into different new apps depending on the context so I can't make sweeping changes. Weeding through each file and presumably the metadata seems sluggish.

If I could do an API call to get the search, download it, POST it to the new app and delete the original that would probably be easier in the long run.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

Happy CX Day, Splunk Community!

Happy CX Day, Splunk Community! CX stands for Customer Experience, and today, October 3rd, is CX Day — a ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...