# Need help to understand filtered index alias

**URL:** <https://discuss.elastic.co/t/need-help-to-understand-filtered-index-alias/97860>\
**Category:** Elasticsearch\
**Created:** [August 22, 2017, 6:44am UTC](https://discuss.elastic.co/t/need-help-to-understand-filtered-index-alias/97860 "2017-08-22T06:44:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk\_user1](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@elk\_user1](https://discuss.elastic.co/u/elk_user1)\
**Post date:** [August 22, 2017, 6:44am UTC](https://discuss.elastic.co/t/need-help-to-understand-filtered-index-alias/97860/1 "2017-08-22T06:44:02Z")

</div>

Hello,

I am trying to create an alias with a filter. But when I'm trying to find out the count of the documents under the filtered alias, it shows the total count under the index. And not the count of filtered documents. Can someone help me understand if this is not how it works?

Thanks,  
Deepti

---

<div class="post-metadata">

**Author:** ![elk\_user1](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@elk\_user1](https://discuss.elastic.co/u/elk_user1)\
**Post date:** [August 22, 2017, 9:11am UTC](https://discuss.elastic.co/t/need-help-to-understand-filtered-index-alias/97860/2 "2017-08-22T09:11:49Z")

</div>

Please ignore. It was actually working. Thanks!

---

<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:** [September 19, 2017, 9:11am UTC](https://discuss.elastic.co/t/need-help-to-understand-filtered-index-alias/97860/3 "2017-09-19T09:11:53Z")

</div>

Closed on September 19, 2017, 9:11am UTC

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