How do I migrate Dashboards and alerts from older standalone search head to new standalone search
Hi @splunkguy ,
follow these steps:
You can find more details at https://docs.splunk.com/Documentation/Splunk/9.1.1/DistSearch/PropagateSHCconfigurationchanges
Ciao.
Giuseppe
Well...the idea is relatively easy (you want to capture old SH state and set the new SH to the same state) but the details can be tricky.
Generally, you want to move the config files (both system-wide and users' ones) and kvstore state.
The problem is that if you're migrating, you might not need some stuff if you'll be deploying on a new instance (like certs might need to be generated for a new name) so you'll have to be selective about restoring the configs.
Hi @PickleRick ,
Thanks for replying, my issue is that Splunk SH is running on Linux 6 and I have to migrate it to Linux 8 because Splunk 9.1 is not supported on Legacy Linux.
So I have built a new instance and added to cluster, as a standalone SH it can search the data and I can make it primary, but not sure how to copy Dashboards/alerts built by users that are no longer active. So that's where I am looking for options to copy it from old instance to new before making it active.
Generally, system-wide stuff is in etc/system and etc/apps whereas users' content is in etc/users. You need to remember however that your stuff probably depends on add-ons which do the extractions. If you use datamodels, they should be properly defined and configured. And so on.
Hi @gcusello ,
Thanks for replying. I am using a standalone search head. Would like to move to a standalone search head and not a search head cluster. Is that the same process for migrating apps to standalone search head?
Hi @splunkguy ,
good for you, see next time!
Ciao and happy splunking
Giuseppe
P.S.: Karma Points are appreciated by all the contributors 😉
Hi @splunkguy ,
to move a standalone Search Head to another standalone SH, you have to make the same steps, obviously without the cluster:
Ciao.
Giuseppe
Hi @splunkguy ,
follow these steps:
You can find more details at https://docs.splunk.com/Documentation/Splunk/9.1.1/DistSearch/PropagateSHCconfigurationchanges
Ciao.
Giuseppe