# Is it possible to filter by agent policy?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-filter-by-agent-policy/297392>\
**Category:** Kibana\
**Created:** [February 16, 2022, 3:59pm UTC](https://discuss.elastic.co/t/is-it-possible-to-filter-by-agent-policy/297392 "2022-02-16T15:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 7, 2022, 5:12pm UTC](https://discuss.elastic.co/t/is-it-possible-to-filter-by-agent-policy/297392/2 "2022-03-07T17:12:56Z")

</div>

You may want to create index aliases with your filter, and then expose them per space.

> **[Aliases API | Elasticsearch Guide \[8.0\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html)**

---

_[View the full topic](https://discuss.elastic.co/t/is-it-possible-to-filter-by-agent-policy/297392)._
