# Encountering 'Name must match one or more data streams, indices, or index aliases' error when creating a data view in Kibana 8 Discover section

**URL:** <https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589>\
**Category:** Kibana\
**Created:** [July 29, 2023, 9:07am UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589 "2023-07-29T09:07:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abntkpi](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@abntkpi](https://discuss.elastic.co/u/abntkpi)\
**Post date:** [July 29, 2023, 9:07am UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/1 "2023-07-29T09:07:22Z")

</div>

Hello, hope you're doing well.

When I try to create a data view in the Discover section of Kibana 8, I encounter the following error message for any index pattern I write in the index pattern field:

"Name must match one or more data streams, indices, or index aliases."

I even tried entering "_._" and "netflow-\*", but still face the same error. How can I resolve this issue?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 29, 2023, 11:15pm UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/2 "2023-07-29T23:15:03Z")

</div>

Do you actually have any indices or data streams?

Go To stack Management -\> Data Views - Create Data View

What do you see?

 ![Screenshot 2023-07-29 at 4.13.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/5/555affc7da9146a823d3691dc4f848c2acd6a185.png)

---

<div class="post-metadata">

**Author:** ![abntkpi](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@abntkpi](https://discuss.elastic.co/u/abntkpi)\
**Post date:** [July 30, 2023, 10:23am UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/3 "2023-07-30T10:23:34Z")

</div>

Thank you for your response.I followed the path you mentioned, but...

 ![Screenshot from 2023-07-30 13-48-00](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c70a394fa15bca2d59eb4fbdc202c1f67b95645b.png)  
 ![Screenshot from 2023-07-30 13-47-36](https://us1.discourse-cdn.com/elastic/original/3X/5/2/52a0d99e6ed4f8f04f81f40cbafb5e3e4aca74a6.png)  
 ![Screenshot from 2023-07-30 13-47-21](https://us1.discourse-cdn.com/elastic/original/3X/1/3/132fdd8aeaae176195ea741c405060dc06acf208.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 30, 2023, 2:00pm UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/4 "2023-07-30T14:00:07Z")

</div>

I am not sure what you expect that index pattern value needs to match something on the right list of datastreams / indices not just random text.

Try  
`logs-*`

You can name it what you want but the index pattern needs to match datastreams are indices that already exist.

---

<div class="post-metadata">

**Author:** ![abntkpi](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@abntkpi](https://discuss.elastic.co/u/abntkpi)\
**Post date:** [August 16, 2023, 11:51am UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/5 "2023-08-16T11:51:52Z")

</div>

I appreciate the response you provided.

---

<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 13, 2023, 11:52am UTC](https://discuss.elastic.co/t/encountering-name-must-match-one-or-more-data-streams-indices-or-index-aliases-error-when-creating-a-data-view-in-kibana-8-discover-section/339589/6 "2023-09-13T11:52:20Z")

</div>

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