# Kibana 4 and 5: sensible URL parameters

**URL:** <https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145>\
**Category:** Kibana\
**Created:** [January 26, 2016, 5:43pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145 "2016-01-26T17:43:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmoe/32/7386_2.png) [@kmoe](https://discuss.elastic.co/u/kmoe)\
**Post date:** [January 26, 2016, 5:43pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/1 "2016-01-26T17:43:34Z")

</div>

A typical URL in Kibana \> 3 has a lot of rison in it. This isn't easily human-readable or constructable (see [Kibana 4.x Discover URL Parameters Documentation](https://discuss.elastic.co/t/kibana-4-x-discover-url-parameters-documentation/24346)). I need to be able to provide an entry point to Kibana for my users that is reachable from a URL like this that they can edit themselves easily:

`http://kibana.mydomain.com/app/kibana/index.html#/logs?parameterName=parameterValue`

My current strategy (on a fork) is probably to create a proxy in front of Kibana providing the `/logs` entry point, which will then redirect the user to the long Kibana URL.

Can anyone think of a better way of doing this, or is there some setting I've missed?

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [January 27, 2016, 7:42pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/2 "2016-01-27T19:42:50Z")

</div>

Is this (closed) issue a relevant answer? [https://github.com/elastic/kibana/issues/2502](https://github.com/elastic/kibana/issues/2502)

I'm not clear on why a user would want to edit a URL instead of entering their parameterName:parameterValue in the search bar in Kibana.

---

<div class="post-metadata">

**Author:** ![kmoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmoe/32/7386_2.png) [@kmoe](https://discuss.elastic.co/u/kmoe)\
**Post date:** [January 28, 2016, 2:31pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/3 "2016-01-28T14:31:20Z")

</div>

> [@LeeDr](#):
>
> I'm not clear on why a user would want to edit a URL instead of entering their parameterName:parameterValue in the search bar in Kibana.

It's not necessarily for end user use - it's rather that we need to generate links to dashboards dynamically based on a few parameters. The URLs should be both human-readable and machine-generateable, which is why my example used a query string.

I'm not sure the issue quite addresses my problem - wouldn't the strategy detailed there require us to create one dashboard per 'customer' manually?

---

<div class="post-metadata">

**Author:** ![kmoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmoe/32/7386_2.png) [@kmoe](https://discuss.elastic.co/u/kmoe)\
**Post date:** [January 29, 2016, 4:20pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/4 "2016-01-29T16:20:28Z")

</div>

Update on this: I'm now hooking into the saved dashboard functionality to load dashboard templates from JSON files. So for example if you go to `http://localhost:5601/app/kibana#/dashboard/foo` it will check first whether there exists a static JSON template `foo` and if not, will default to the usual saved dashboard functionality.

This has a number of advantages for us:

1. We can check our dashboard templates into version control, with obvious benefits.
2. Since the saved dashboards are no longer stored in Elasticsearch, there is no need to recreate them when connecting to a new ES.

---

<div class="post-metadata">

**Author:** ![sneyed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sneyed/32/16250_2.png) [@sneyed](https://discuss.elastic.co/u/sneyed)\
**Post date:** [March 10, 2017, 5:36am UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/5 "2017-03-10T05:36:40Z")

</div>

Hi Katy,

Does this solution allow you to pass in parameters to Kibana through the URL?  
From what I understand from your comment, you are allowing the user to enter the name of the dashboard - how does this translate to parameters or search queries?

Can you please explain or link me to some info on how this is done / works?

Cheers

---

<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:** [July 6, 2017, 1:32pm UTC](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145/6 "2017-07-06T13:32:47Z")

</div>


