We use a custom app in our Splunk Cloud instance to segregate dashboards and searches from other teams. With the recent update to allow dark theme compatibility in Splunk 9 to the search view in "Searching and Reporting" I was wondering if there was a way we could enable that in our custom app as well?
Currently while in this custom app and trying to switch the them to dark I get this error message:
"The Theme setting is not supported by your current app context."
I have the same question and I can see all of the replies are referring to Splunk WEB not Splunk CLOUD.
From what I can tell, the only option is to do this by deploying your private app (requires Victoria Experience)
https://dev.splunk.com/enterprise/docs/releaseapps/manageprivatecloud/
To clarify for all of the other responders;
- This is Splunk Cloud
- We have no access to the app.conf of any app
- We have no access to the file structure on the Search Head
- We can only use the UI and REST apis (ACS)
Hello, https://dev.splunk.com/enterprise/docs/developapps/createapps/adduithemes/ details the guidance for app developers to update their app(s) to support dark theme (in addition to light theme) for their app. App consumers should not make an attempt to support dark theme for an installed app themselves.
Currently if someone installs an app which supports dark theme, they will only see the benefit of this in Splunk Cloud per the above doc. The next Splunk Enterprise release once it is available will support dark theme the same as the current Splunk Cloud release.
I am on Classic and was able to modify a app.conf in private app that you can deploy. See https://dev.splunk.com/enterprise/docs/releaseapps/manageprivatecloud/ for some more info as well.
Hello, guidance on adopting the theming framework for your app can be found at: https://dev.splunk.com/enterprise/docs/developapps/createapps/adduithemes/
https://docs.splunk.com/Documentation/Splunk/latest/Admin/Appconf#.5Bui.5D suggests you need to add an entry to your app.conf file in the ui stanza of supported_themes.
[ui]
supported_themes=enterprise,dark
Hi @chartastic,
did you tried to go in the Edit mode of each dashboard and set the Dark Theme?
Ciao.
Giuseppe
Hi @chartastic,
you should try to copy the CSS that you have in the Search & Reporting App (Dark Theme) App in your custom App.
You should find it in $SPLUNK_HOME/etc/apps/search/appserver/static and copy in $SPLUNK_HOME/etc/apps/<your_app>/appserver/static.
Ciao.
Giuseppe
You want to move this question to Dashboards & Visualizations forum and get better answer.
See my other reply, this is about the search ui and not about a dashboard.