You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am about to code scripted Kibana dashboard that generates bunch of links to other dedicated dashboards based on result from ES query.
E.g. some task is executed on several hosts (variable number) and there is document in ES that tells on which host runs what part of the task. I want a dashboard that will query ES and then generate link for each host that is in that document.
I already have scripted dashboard that does exactly what I want, but I have there hardwired ES host name. This piece of information is in config.js, but I cant access it in my dashboard.js file. I searched the codes and found that the relevant evaluation of the scripted dashboard is the following:
var _f = new Function('ARGS','kbn','_','moment','window','document','angular','require','define','$','jQuery',response);
return _f($routeParams,kbn,_,moment);
None of the passed arguments will give access to config. Having at least angular will allow to access it... Any chance having such option in the future?
The text was updated successfully, but these errors were encountered:
I am about to code scripted Kibana dashboard that generates bunch of links to other dedicated dashboards based on result from ES query.
E.g. some task is executed on several hosts (variable number) and there is document in ES that tells on which host runs what part of the task. I want a dashboard that will query ES and then generate link for each host that is in that document.
I already have scripted dashboard that does exactly what I want, but I have there hardwired ES host name. This piece of information is in config.js, but I cant access it in my dashboard.js file. I searched the codes and found that the relevant evaluation of the scripted dashboard is the following:
None of the passed arguments will give access to config. Having at least
angular
will allow to access it... Any chance having such option in the future?The text was updated successfully, but these errors were encountered: