# Control filter and VEGA lite not working

**URL:** <https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [November 12, 2024, 7:34am UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370 "2024-11-12T07:34:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arshukla](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Arshukla](https://discuss.elastic.co/u/Arshukla)\
**Post date:** [November 12, 2024, 7:34am UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370/1 "2024-11-12T07:34:46Z")

</div>

Hello Team,  
I am using v8.14 of Kibana, and building tabular dashboard using VEGA-lite, however I want to use external Kibana controls for filtering option, however its not working. What changes are required in VEGA lite, so that timefilter of Kibana and Controls of Kibana gets applied to VEGA lite, and subsequently results are displayed

---

<div class="post-metadata">

**Author:** ![Arshukla](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Arshukla](https://discuss.elastic.co/u/Arshukla)\
**Post date:** [November 18, 2024, 5:42pm UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370/2 "2024-11-18T17:42:34Z")

</div>

Got the solution thanks

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [November 18, 2024, 11:37pm UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370/3 "2024-11-18T23:37:02Z")

</div>

Thanks for following up, @Arshukla. What was the solution you found?

---

<div class="post-metadata">

**Author:** ![Arshukla](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Arshukla](https://discuss.elastic.co/u/Arshukla)\
**Post date:** [November 19, 2024, 4:03am UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370/4 "2024-11-19T04:03:28Z")

</div>

if we put these conditions under data, filter/control will get applied.

"%context%": true,  
"%timefield%": "@timestamp",

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [November 19, 2024, 2:58pm UTC](https://discuss.elastic.co/t/control-filter-and-vega-lite-not-working/370370/5 "2024-11-19T14:58:54Z")

</div>

Thanks for sharing, @Arshukla.
