# How can I get the global filters in kibana for drilldown

**URL:** <https://discuss.elastic.co/t/how-can-i-get-the-global-filters-in-kibana-for-drilldown/334822>\
**Category:** Kibana\
**Tags:** dashboard\
**Created:** [May 31, 2023, 3:42pm UTC](https://discuss.elastic.co/t/how-can-i-get-the-global-filters-in-kibana-for-drilldown/334822 "2023-05-31T15:42:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Mightiev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mightiev/32/62186_2.png) [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Post date:** [May 31, 2023, 3:42pm UTC](https://discuss.elastic.co/t/how-can-i-get-the-global-filters-in-kibana-for-drilldown/334822/1 "2023-05-31T15:42:04Z")

</div>

Hi,  
I'm trying to create a few drilldown dashboards using Go To URL, I understand that the event.points give me the current context filters, but I would also like to use the global filters of the dashboard to be passed on. How can I do that?  
Thanks  
A

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [June 1, 2023, 11:16am UTC](https://discuss.elastic.co/t/how-can-i-get-the-global-filters-in-kibana-for-drilldown/334822/2 "2023-06-01T11:16:10Z")

</div>

There is a `context` variable that you can expand with the `json` templating function so you can put a URL template like this:

```auto
http://mydestination/event={{json event.points}}&context={{ json context.panel }}

```

This is documented here:

> **[Customize interactions with drilldowns | Kibana Guide \[8.8\] | Elastic](https://www.elastic.co/guide/en/kibana/8.8/create-drilldowns.html#url-template-variables)**

---

<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:** [June 29, 2023, 11:16am UTC](https://discuss.elastic.co/t/how-can-i-get-the-global-filters-in-kibana-for-drilldown/334822/3 "2023-06-29T11:16:23Z")

</div>

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