# How dynamic can Kibana be? Visualizing Graphs on the fly?

**URL:** <https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599>\
**Category:** Kibana\
**Created:** [October 27, 2017, 6:12pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599 "2017-10-27T18:12:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schizo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/schizo/32/23478_2.png) [@Schizo](https://discuss.elastic.co/u/Schizo)\
**Post date:** [October 27, 2017, 6:12pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599/1 "2017-10-27T18:12:46Z")

</div>

I've started using Kibana, liked it but i might eventually move away from it as i don't see that i can accomplish the following:

I have a dataset with keywoards and numbers on it and based on a URL query or any option to add a filter on the fly i would like to ship a URL.

[http://mykibana/dashboard/myGraph?name=johndoe](http://mykibana/dashboard/myGraph?name=johndoe)

There are maybe 1000 user's, i can't generate those pages by hand.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [October 27, 2017, 8:47pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599/2 "2017-10-27T20:47:31Z")

</div>

If you'd just like to set up a filter in the URL, you can do that. The entire state of visualizations and dashboards lives in the URL, so you can modify any filters applied to them simply by updating the URL.

The encoding it uses is called Rison, which is kind of like a URL-safe JSON. [Here's a library](https://www.npmjs.com/package/rison-node) to help you work with that data.

You'll need to learn a bit about how state works in Kibana's URLs, which is easier to understand if you convert that Rison data to JSON. Once you understand it, it's not super hard to generate your own URLs to apply filters on the fly.

---

<div class="post-metadata">

**Author:** ![Schizo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/schizo/32/23478_2.png) [@Schizo](https://discuss.elastic.co/u/Schizo)\
**Post date:** [October 27, 2017, 9:20pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599/3 "2017-10-27T21:20:57Z")

</div>

Allright i get this part, u can basically generate a log query String, but this is very restrictive if you want to share a link. You will end up sending N\*hundred's of characters as a link. I basically would have to generate a short-url that get's as an input a filter that i want and from that redirect to a url.

I was expecting, that I can generate a page/blog that can take as input a query.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [October 27, 2017, 9:35pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599/4 "2017-10-27T21:35:40Z")

</div>

You could build your own little app that does that for you. Basically, ask the user for some information, use that information to create the filter(s) you want, and then generate a link on the fly for the user to click on. Or, even better, you can redirect them directly based on their input.

Kibana does have a URL shortener built in too, but once you create a short link, you can't modify the URL anymore.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 24, 2017, 9:49pm UTC](https://discuss.elastic.co/t/how-dynamic-can-kibana-be-visualizing-graphs-on-the-fly/105599/5 "2017-11-24T21:49:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
