Dashboards & Visualizations

Can we move the saved searches or knowledge objects created under user local profile to the specific apps?

Navanitha
Path Finder

Hi,

I see some saved searches and knowledge objects created under user local profile like below

/opt/splunk/etc/users/username/search/local/savedsearches

Can I append above "savedsearches" file to the "savedsearch" file under app folder like /opt/splunk/etc/apps/search/local/ ?

As we are migrating our Splunk infra to a new one, I am trying to clean up things and this effort is part of the migration.  Not sure if this makes sense but I would want all the savedsearches at one location which is /opt/splunk/etc/apps/.

 

If this is possible, how can I implement it and will there be any impact ?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

When users change the permissions on their knowledge objects from private to app-level sharing, Splunk will move the object to the selected app and change the metadata files appropriately.  Splunk also will make sure there are no duplicate KO names in the same app.  What you suggest will work (use a custom app rather than search), but I recommend letting Splunk (and your users) do the work.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

When users change the permissions on their knowledge objects from private to app-level sharing, Splunk will move the object to the selected app and change the metadata files appropriately.  Splunk also will make sure there are no duplicate KO names in the same app.  What you suggest will work (use a custom app rather than search), but I recommend letting Splunk (and your users) do the work.

---
If this reply helps you, Karma would be appreciated.

Navanitha
Path Finder

This helped Thank you @richgalloway 

isoutamo
SplunkTrust
SplunkTrust

Hi

if/when you have enough capability (like admin role) you could move those to another app and also give permission to app or even global.

You could try Settings -> All Configurations then Push "Reassign Knowledge Objects".

Just select correct one and reassign it as you want.

There is also some python scripts which you could use for this like https://github.com/harsmarvania57/splunk-ko-change

r. Ismo

0 Karma

Navanitha
Path Finder

@isoutamo  New thing I learned, Thank you.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...