# Empty row in the patter when creating an index and undefined value out field name

**URL:** <https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082>\
**Category:** Kibana\
**Created:** [September 13, 2021, 1:48pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082 "2021-09-13T13:48:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 13, 2021, 1:48pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/1 "2021-09-13T13:48:01Z")

</div>

Hello, when creating a new index as follows:

```auto
PUT index-name

```

The index is generated correctly but when generating the pattern, I see an empty row.

 ![Error1](https://us1.discourse-cdn.com/elastic/original/3X/3/1/31bc5b4fe78e897687248b706ac56faa34c1131d.png)

I'm not sure if this is what is causing the documents to have an empty row undefined.  
 ![Erro2](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d085a8d0a08e937e4f6a515d3c4f80eb1eab94d0.png)

I don't know why this is happening but I think it shouldn't happen, could you help me?

If you need more info, do not hesitate to request it, I will be attentive.

Thank.

---

<div class="post-metadata">

**Author:** ![corey.robertson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/corey.robertson/32/54611_2.png) [@corey.robertson](https://discuss.elastic.co/u/corey.robertson)\
**Post date:** [September 13, 2021, 4:56pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/2 "2021-09-13T16:56:00Z")

</div>

Hi @Jaime_Teixido

What version of Elastic Stack are you seeing this occur on?

Are you certain that whatever pattern you are using for the index pattern is only matching the newly created `index-name` index and not some other index out there?

---

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 13, 2021, 5:03pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/3 "2021-09-13T17:03:52Z")

</div>

Hi,  
Yes, I am sure and it happens every time I create an index and create a pattern to it, without having added any document or anything similar.

My version is v7.14.1.

Thanks.

---

<div class="post-metadata">

**Author:** ![corey.robertson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/corey.robertson/32/54611_2.png) [@corey.robertson](https://discuss.elastic.co/u/corey.robertson)\
**Post date:** [September 13, 2021, 5:13pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/4 "2021-09-13T17:13:54Z")

</div>

Hmm, I'm not able to reproduce, also on 7.14.1.

Does the mapping for your new index show that blank field? (In DevTools `GET index-name/_mapping`)

---

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 13, 2021, 5:20pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/5 "2021-09-13T17:20:45Z")

</div>

Hi,  
I have executed what you told me:

```auto
GET index-name/_mapping

```

and i get the next response:

```auto
{
  "index-name" : {
    "mappings" : { }
  }
}

```

I hope the information helps you determine what the problem may be.

Thanks.

---

<div class="post-metadata">

**Author:** ![corey.robertson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/corey.robertson/32/54611_2.png) [@corey.robertson](https://discuss.elastic.co/u/corey.robertson)\
**Post date:** [September 13, 2021, 5:24pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/6 "2021-09-13T17:24:38Z")

</div>

Ok. Can you delete the index pattern and recreate it?

On the second step of creating the pattern you should see this message that the matching indices really don't have any fields

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0f53a7182e912d5b37b9ee3cbe2b142659903e0b.png)

---

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 13, 2021, 5:30pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/7 "2021-09-13T17:30:01Z")

</div>

Hi,

I am going to comment on all the flow that I carry out to create the new index.

```auto
PUT test-index

```

Now i create the pattern:

 ![Error3](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a20144ed388bedda825b1c4f3cc7ca7062c6814.png)

and when enter on patter i see the empty row

 ![Error4](https://us1.discourse-cdn.com/elastic/original/3X/0/1/01271ea64617155ef613e38c7f9aee63f6d45ad1.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 15, 2021, 8:54am UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/8 "2021-09-15T08:54:57Z")

</div>

Hi @corey.robertson ,  
Somen one solution for this?

Thanks.

---

<div class="post-metadata">

**Author:** ![corey.robertson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/corey.robertson/32/54611_2.png) [@corey.robertson](https://discuss.elastic.co/u/corey.robertson)\
**Post date:** [September 16, 2021, 1:11pm UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/9 "2021-09-16T13:11:35Z")

</div>

Hmm, so strange.

Can you share a screenshot of the first step of creating the index pattern where you're choosing the name?

Is this on a fresh elasticsearch instance or is this an existing cluster?

---

<div class="post-metadata">

**Author:** ![Jaime\_Teixido](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaime_teixido/32/43753_2.png) [@Jaime\_Teixido](https://discuss.elastic.co/u/Jaime_Teixido)\
**Post date:** [September 17, 2021, 10:07am UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/10 "2021-09-17T10:07:42Z")

</div>

Hi,  
The first step is the name of the index patern, i try to create full name index or with index-\* to take more of one, and all get the the empty row value.

The elastichsearch is a unique install i have in my server.

If u need some info of config files of the server or similar tell me.

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:** [October 15, 2021, 10:07am UTC](https://discuss.elastic.co/t/empty-row-in-the-patter-when-creating-an-index-and-undefined-value-out-field-name/284082/11 "2021-10-15T10:07:45Z")

</div>

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