# Engineer Training - Lab 6.1 Testing index template returns nothing

**URL:** <https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031>\
**Category:** Elastic Training\
**Created:** [October 6, 2021, 1:14pm UTC](https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031 "2021-10-06T13:14:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eRDe2021](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eRDe2021](https://discuss.elastic.co/u/eRDe2021)\
**Post date:** [October 6, 2021, 1:14pm UTC](https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031/1 "2021-10-06T13:14:12Z")

</div>

Hello,  
Testing index template:  
POST \_index\_template/\_simulate\_index/my-metrics-test returns nothing  
returns nothing, just {} and 200 - OK.  
What I missed?  
RD

---

<div class="post-metadata">

**Author:** ![dinyes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dinyes/32/42906_2.png) [@dinyes](https://discuss.elastic.co/u/dinyes)\
**Post date:** [October 6, 2021, 1:23pm UTC](https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031/2 "2021-10-06T13:23:06Z")

</div>

I would check that the index pattern that is used to match the index template works with the name "my-metrics-test". It should be "my-metrics-\*" for that particular template.

---

<div class="post-metadata">

**Author:** ![eRDe2021](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eRDe2021](https://discuss.elastic.co/u/eRDe2021)\
**Post date:** [October 6, 2021, 2:24pm UTC](https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031/3 "2021-10-06T14:24:54Z")

</div>

now, it is ok.  
Thank you.

---

<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:** [November 5, 2021, 2:24pm UTC](https://discuss.elastic.co/t/engineer-training-lab-6-1-testing-index-template-returns-nothing/286031/4 "2021-11-05T14:24:59Z")

</div>

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