# Defining ES index pattern with ILM in logstash

**URL:** <https://discuss.elastic.co/t/defining-es-index-pattern-with-ilm-in-logstash/182082>\
**Category:** Logstash\
**Created:** [May 21, 2019, 8:00pm UTC](https://discuss.elastic.co/t/defining-es-index-pattern-with-ilm-in-logstash/182082 "2019-05-21T20:00:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xyz2](https://avatars.discourse-cdn.com/v4/letter/x/e480ec/32.png) [@xyz2](https://discuss.elastic.co/u/xyz2)\
**Post date:** [May 21, 2019, 8:00pm UTC](https://discuss.elastic.co/t/defining-es-index-pattern-with-ilm-in-logstash/182082/1 "2019-05-21T20:00:54Z")

</div>

HI ,

I have ILM for an index say test-000001. In order to define the output ES index in logstash, do i just need to mention "test\*" and no other parameter related to ILM ?

Is there any regex support also in index pattern like test[0-9] etc ?

---

<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 18, 2019, 8:01pm UTC](https://discuss.elastic.co/t/defining-es-index-pattern-with-ilm-in-logstash/182082/2 "2019-06-18T20:01:03Z")

</div>

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