Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting templates and scripts for dashboards in Kibana 4+ #4269

Closed
biswajit86 opened this issue Jun 18, 2015 · 5 comments
Closed

Supporting templates and scripts for dashboards in Kibana 4+ #4269

biswajit86 opened this issue Jun 18, 2015 · 5 comments

Comments

@biswajit86
Copy link

Kibana used to support scripted and templated dashboards till Kibana 3 versions , either through json or js files . After the release of Kibana 4 , there is no support for either templated or scripted or parameterized dashboards

Till Kibana3, we could create a parameterized template for a dashboard and call it with different parameters to render a dynamic dashboard. Apart from the usual benefits that come from templates, the functionality really helps in hiding technical details from a non-technical end user . This lack of functionality is a serious hindrance in our efforts to replace our legacy flex dashboards with the ELK Stack

Can this please be added in the upcmoning releases of Kibana 4+?

@spalger
Copy link
Contributor

spalger commented Jun 18, 2015

Rather than require configuration of specific template variables using scripted templates, kibana now stores the entire configuration of the page in the url, and therefore every dashboard is templatized.

Closing as a duplicate of #2502

@spalger spalger closed this as completed Jun 18, 2015
@childe
Copy link

childe commented Aug 11, 2015

I have many indices(actually aliases) named weblog-2015.08.11-www.corp.com weblog-2015.08.11-abc.corp.com and so on.

I hope to make ONLY ONE dashboard, and pass the domain via url like /#dashboard/weblog?domain=www.corp.com.

I hacked components/courier/saved_object/saved_object.js , add below code in docSource.fetch() function.

resp = JSON.parse(_.template(JSON.stringify(resp))($route.current.params));

I saved one search object using "<%= domain %>", and make visualizations with this search object , and put the visualizations to a dashboard, now I could use #/dashboard/weblog?domain=www.corp.com to show certain domain information.

I am new with angular and the hack seems ugly , hope the feature could be added in future version of k4.

@spalger
Copy link
Contributor

spalger commented Aug 11, 2015

We hope so too @childe :) For now it's slotted a few versions out #4489

@vishalmote
Copy link

Is there any documentation on it for URI templatization???

@Kulasangar
Copy link

Is scripting not yet available to create dynamic dashboards in Kibana 5.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants