Is there a way to set kibana dark mode using an API?
(The equivalent of flipping the 'dark mode' switch on Management > Advanced settings)
Thanks in advance!
Is there a way to set kibana dark mode using an API?
(The equivalent of flipping the 'dark mode' switch on Management > Advanced settings)
Thanks in advance!
There is an API, however it is not publicly documented so it is subject to change at any time. You can use it to set the dark mode setting like this:
POST <kibana-host>/api/kibana/settings/theme:darkMode
{
"value": true
}
Thanks @Bargs!
As long there will be support to set darkMode on the future, I don't mind changing the API.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.