Hey guys, I've been looking through the kibana 7.8 codebase for a place to store some variables that would be widely available one instantiated. In my previous custom kibana 6 version, I've used the config object to store some variables which I could then easily use in different other places in the codebase by injecting it. I'm looking for something similar in the current latest version and I'm having a hard time grasping how it's organized, any tips/pointers would be greatly appreciated.
So, in kibana 6.2 I modified /src/ui/public/config/config.js to contains a couple more fields other than the default ones then I would simply inject this config into relevant files such as dashboard_app.js like so:
I'm looking for a way to this in 7.8, essentially and object that's instantiated on session load and easily importable by components such as dashboard, visualization, search, etc.
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.