Hello,
I am new to Splunk and I would like to create an app for my dashboards that would be visible on all Search Heads.
Can anyone help?
Hi
There are couple of ways to do it. It depends what are your Company's change management and application delivery policy. Below is shortly what those options can be. Those are not in preferred order. Of course these needs that you have enough rights to do these. Another option is as your Splunk Admin create that app and then you can do dashboards etc. under it.
Anyhow you must create all new apps first in Deployer and then push those to SHC nodes. After that you could do changes directly on SHC (if permitted by your policy) or first in dev node and then push those changes via Deployer to SHC.
https://docs.splunk.com/Documentation/Splunk/8.2.3/DistSearch/PropagateSHCconfigurationchanges
r. Ismo
Hi,
Thank you for answear. I have few questions more:
During last moths I done some changes on existing apps (other than i want to create). Will push by Deployer overwrite my changes on thoose apps? In directory /etc/shcluster I still have default apps (clear).
What should i backup to save all my changes?
Would copying the app for one of search heads to etc/shcluster will be good idea?
Choose a deployer push mode told to you what happening files on SHC with different push modes on Deployer. Rule of thumb is that Deployer overwrite everything on SHC nodes' default directories and leave those what are on local left. With push mode you can change that behaviour if/when needed.
Never ever push Splunk's default apps (e.g. search, launcher etc) from Deployer!!! For that reason it's a best practice to create separate app(s) for end users' own KOs.
It depends on our current (/previous) way, how you have managed those apps. Basically you could copy those configs from one SHC node to Deployer's shcluster apps directory, but then your should do merging SHC node's local to default dir on Deployer. Please read that SHC cluster documentation to understand how it works and what are limitations when you are using it. I cannot say what is best for your organisation without knowing much more your current situation and how you have manager processes and policies on your organisation.
r. Ismo