# Access discover tab with parameters

**URL:** <https://discuss.elastic.co/t/access-discover-tab-with-parameters/50914>\
**Category:** Kibana\
**Created:** [May 25, 2016, 7:44am UTC](https://discuss.elastic.co/t/access-discover-tab-with-parameters/50914 "2016-05-25T07:44:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![no\_jihun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/no_jihun/32/64028_2.png) [@no\_jihun](https://discuss.elastic.co/u/no_jihun)\
**Post date:** [May 25, 2016, 7:44am UTC](https://discuss.elastic.co/t/access-discover-tab-with-parameters/50914/1 "2016-05-25T07:44:16Z")

</div>

Hi.

I have an URL of discover tab.

```auto
http://10.97.54.66:5601/app/kibana#/discover/New-Saved-Search?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-7d,mode:quick,to:now))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'jpl_raw*',key:classifier,negate:!f,value:sticker_pickerview_banner),query:(match:(classifier:(query:sticker_pickerview_banner,type:phrase)))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'jpl_raw*',key:action_id,negate:!f,value:exposure),query:(match:(action_id:(query:exposure,type:phrase))))),index:'jpl_raw*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!(event_time,desc))

```

And It has two filters.

```auto
classifier:"sticker", action_id:"exposure"

```

So,, How can I programatically generate an URL of some filter conditions?  
for example

```auto
classifier:"photo" , action_id:"click"

```

I am aware of these issues. But couldn't got a clear solution.  
[Kibana 4 and 5: sensible URL parameters](https://discuss.elastic.co/t/kibana-4-and-5-sensible-url-parameters/40145)  
[Kibana 4.x Discover URL Parameters Documentation](https://discuss.elastic.co/t/kibana-4-x-discover-url-parameters-documentation/24346)

So how can I do this?  
Do I have to use RISON API?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [May 25, 2016, 10:22pm UTC](https://discuss.elastic.co/t/access-discover-tab-with-parameters/50914/2 "2016-05-25T22:22:34Z")

</div>

Currently the query parameters are encoded using RISON as you discovered.

There are two query parameters in your URL:

\_g: `(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-7d,mode:quick,to:now))`

and

\_a: `(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'jpl_raw*',key:classifier,negate:!f,value:sticker_pickerview_banner),query:(match:(classifier:(query:sticker_pickerview_banner,type:phrase)))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'jpl_raw*',key:action_id,negate:!f,value:exposure),query:(match:(action_id:(query:exposure,type:phrase))))),index:\'jpl_raw*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!(event_time,desc))`

Using node\_rison:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2b90d3ca581b799d691e7e323331ac418e8dd3e3.png)

After modifying the values you can then encode to generate the URL.

---

<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:52pm UTC](https://discuss.elastic.co/t/access-discover-tab-with-parameters/50914/3 "2017-07-06T13:52:17Z")

</div>


