# Filters in plugin

**URL:** <https://community.grafana.com/t/filters-in-plugin/8465>\
**Category:** Grafana\
**Created:** [July 2, 2018, 10:11am UTC](https://community.grafana.com/t/filters-in-plugin/8465 "2018-07-02T10:11:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twisty01](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@twisty01](https://community.grafana.com/u/twisty01)\
**Post date:** [July 2, 2018, 10:11am UTC](https://community.grafana.com/t/filters-in-plugin/8465/1 "2018-07-02T10:11:51Z")

</div>

Hi, I’m new to Grafana and I need to write a plugin to visualize data from Elasticsearch. Is it possible to add the filter selects with vars from the query (like there are for example in the Table plugin)? I’ll be glad for any help.

---

<div class="post-metadata">

**Author:** ![twisty01](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@twisty01](https://community.grafana.com/u/twisty01)\
**Post date:** [July 2, 2018, 11:47am UTC](https://community.grafana.com/t/filters-in-plugin/8465/2 "2018-07-02T11:47:09Z")

</div>

I found out I was looking for variables in Dashboard Settings.

---

<div class="post-metadata">

**Author:** ![thachnv92](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/thachnv92/32/4183_2.png) [@thachnv92](https://community.grafana.com/u/thachnv92)\
**Post date:** [July 4, 2018, 6:43am UTC](https://community.grafana.com/t/filters-in-plugin/8465/3 "2018-07-04T06:43:42Z")

</div>

You can refer to: [http://docs.grafana.org/plugins/developing/development/](http://docs.grafana.org/plugins/developing/development/)
