# Cannot select index pattern having geo\_point field when creating map layer

**URL:** <https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [July 20, 2020, 3:00pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910 "2020-07-20T15:00:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattiapdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiapdo/32/73224_2.png) [@mattiapdo](https://discuss.elastic.co/u/mattiapdo)\
**Post date:** [July 20, 2020, 3:00pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/1 "2020-07-20T15:00:38Z")

</div>

Hi there,

I'm having troubles adding a new level creating a map in Kibana 7.6.1.

I have two index patterns: `index_pat-*` and `index_pat-x-*`, **both containing at least one field of type `geo_point`** named `geoSensor.geoPoint`.  
Furthermore I checked that **every** index wrapped by `index_pat-*` satisfies the same property.

Being this the only requirement an index pattern shoud meet when adding a vector layer (I'm using **Documents** - read the doc [here](https://www.elastic.co/guide/en/kibana/master/vector-layer.html)), I expect both of them will be available in the drop down menu.

Nonetheless, when i click on it i get only one pattern, i.e. `index_pat-x-*`

 ![immagine](https://us1.discourse-cdn.com/elastic/original/3X/4/0/40f44f007e0f4d44399c83accfcbadaffe9718e3.png)

I know the whole `index_pat-*` may bee too large (90M docs, 50 Gb) to plot non aggregated data on a map, but i expect in the worst case scenario kibana won't show me more than ` index.max_result_window` results ([doc](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html)); the problem persists even if i try adding a new level in a **Grid aggregation** , so i don't think mine it's an issue related to the size of the index.

Related posts that **didn't** solve my problem:  
[Index not listed only when trying to add a map](https://discuss.elastic.co/t/index-not-listed-only-when-trying-to-add-a-map/200222)  
[Index Pattern not available when creating a Map layer](https://discuss.elastic.co/t/index-pattern-not-available-when-creating-a-map-layer/217270)

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 20, 2020, 9:23pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/2 "2020-07-20T21:23:54Z")

</div>

The index pattern select list should include all index patterns with geo\_point fields regardless of the number of documents.

Can you check a few things:

1. From dev tools, what output do you get from running commands below (substitute "myGeoPointField" with the name of your geo\_point field).  
`GET index_pat-*/_field_caps?fields=myGeoPointField`  
`GET index_pat-x-*/_field_caps?fields=myGeoPointField`
2. From Stack management -\> Kibana -\> index patterns, What is the `type` assigned to your geo field? The output should look like the screen shot below.

 ![Screen Shot 2020-07-20 at 3.22.47 PM](https://us1.discourse-cdn.com/elastic/original/3X/7/4/74e309e99de7caa986c5633f951ff674f632d35c.png)

---

<div class="post-metadata">

**Author:** ![mattiapdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiapdo/32/73224_2.png) [@mattiapdo](https://discuss.elastic.co/u/mattiapdo)\
**Post date:** [July 21, 2020, 7:41am UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/3 "2020-07-21T07:41:17Z")

</div>

Hi Nathan, thanks for your quick reply!

1. 

```auto
GET index_pat-*/_field_caps?fields=geoSat.geoPoint

```

yields

```auto
{
  "indices" : [
    "index_pat-60-20200721",
    "index_pat-60-20200720",
    "index_pat-52-20200618",
    "index_pat-52-20200619",
    "index_pat-60-20200714",
    "index_pat-60-20200713",
    "index_pat-60-20200712",
    "index_pat-60-20200711",
    "index_pat-16-20200619",
    "index_pat-60-20200719",
    "index_pat-60-20200718",
    "index_pat-60-20200717",
    "index_pat-60-20200716",
    "index_pat-60-20200715",
    "index_pat-52-20200628",
    "index_pat-16-20200627",
    "index_pat-16-20200629",
    "index_pat-16-20200620",
    "index_pat-45-20200704",
    "index_pat-45-20200711",
    "index_pat-45-20200713",
    "index_pat-45-20200712",
    "index_pat-45-20200719",
    "index_pat-45-20200718",
    "index_pat-45-20200715",
    "index_pat-45-20200714",
    "index_pat-45-20200717",
    "index_pat-45-20200716",
    "index_pat-45-20200721",
    "index_pat-16-20200525",
    "index_pat-45-20200720",
    "index_pat-16-20200521",
    "index_pat-43-20200422",
    "index_pat-56-20200629",
    "index_pat-56-20200627",
    "index_pat-56-20200626",
    "index_pat-56-20200505",
    "index_pat-56-20200620",
    "index_pat-56-20200625",
    "index_pat-56-20200623",
    "index_pat-58-20200714",
    "index_pat-52-20200703",
    "index_pat-58-20200715",
    "index_pat-52-20200706",
    "index_pat-58-20200712",
    "index_pat-58-20200713",
    "index_pat-58-20200711",
    "index_pat-43-20200407",
    "index_pat-56-20200616",
    "index_pat-56-20200615",
    "index_pat-52-20200709",
    "index_pat-49-20200720",
    "index_pat-52-20200720",
    "index_pat-49-20200721",
    "index_pat-52-20200715",
    "index_pat-52-20200714",
    "index_pat-52-20200717",
    "index_pat-49-20200719",
    "index_pat-52-20200716",
    "index_pat-49-20200718",
    "index_pat-61-20200711",
    "index_pat-61-20200712",
    "index_pat-52-20200711",
    "index_pat-61-20200713",
    "index_pat-52-20200710",
    "index_pat-52-20200713",
    "index_pat-61-20200714",
    "index_pat-61-20200715",
    "index_pat-52-20200712",
    "index_pat-61-20200716",
    "index_pat-61-20200717",
    "index_pat-61-20200718",
    "index_pat-61-20200719",
    "index_pat-52-20200719",
    "index_pat-52-20200718",
    "index_pat-43-20200512",
    "index_pat-49-20200713",
    "index_pat-49-20200712",
    "index_pat-49-20200711",
    "index_pat-49-20200717",
    "index_pat-49-20200716",
    "index_pat-49-20200715",
    "index_pat-49-20200714",
    "index_pat-52-20200721",
    "index_pat-56-20200519",
    "index_pat-43-20200626",
    "index_pat-41-20200717",
    "index_pat-41-20200716",
    "index_pat-41-20200715",
    "index_pat-41-20200714",
    "index_pat-41-20200713",
    "index_pat-41-20200712",
    "index_pat-41-20200711",
    "index_pat-51-20200720",
    "index_pat-51-20200721",
    "index_pat-41-20200719",
    "index_pat-41-20200718",
    "index_pat-41-20200720",
    "index_pat-61-20200720",
    "index_pat-61-20200721",
    "index_pat-21-20200711",
    "index_pat-64-20200719",
    "index_pat-64-20200716",
    "index_pat-64-20200715",
    "index_pat-64-20200718",
    "index_pat-64-20200717",
    "index_pat-64-20200712",
    "index_pat-64-20200711",
    "index_pat-64-20200714",
    "index_pat-64-20200713",
    "index_pat-64-20200721",
    "index_pat-64-20200720",
    "index_pat-39-20200316",
    "index_pat-54-20200711",
    "index_pat-21-20200721",
    "index_pat-21-20200720",
    "index_pat-51-20200717",
    "index_pat-51-20200718",
    "index_pat-51-20200719",
    "index_pat-51-20200713",
    "index_pat-51-20200714",
    "index_pat-51-20200715",
    "index_pat-51-20200716",
    "index_pat-51-20200711",
    "index_pat-51-20200712",
    "index_pat-21-20200718",
    "index_pat-21-20200719",
    "index_pat-21-20200716",
    "index_pat-21-20200717",
    "index_pat-21-20200714",
    "index_pat-21-20200715",
    "index_pat-21-20200712",
    "index_pat-21-20200713",
    "index_pat-44-20200716",
    "index_pat-44-20200715",
    "index_pat-44-20200714",
    "index_pat-44-20200713",
    "index_pat-44-20200719",
    "index_pat-44-20200718",
    "index_pat-44-20200717",
    "index_pat-16-20200709",
    "index_pat-16-20200710",
    "index_pat-16-20200711",
    "index_pat-16-20200712",
    "index_pat-16-20200713",
    "index_pat-16-20200714",
    "index_pat-72-20200719",
    "index_pat-16-20200715",
    "index_pat-72-20200718",
    "index_pat-16-20200716",
    "index_pat-72-20200717",
    "index_pat-16-20200717",
    "index_pat-44-20200721",
    "index_pat-44-20200720",
    "index_pat-54-20200712",
    "index_pat-54-20200713",
    "index_pat-54-20200714",
    "index_pat-54-20200715",
    "index_pat-54-20200716",
    "index_pat-54-20200717",
    "index_pat-54-20200718",
    "index_pat-54-20200719",
    "index_pat-16-20200703",
    "index_pat-54-20200720",
    "index_pat-54-20200721",
    "index_pat-16-20200706",
    "index_pat-72-20200721",
    "index_pat-72-20200720",
    "index_pat-67-20200518",
    "index_pat-16-20200611",
    "index_pat-16-20200612",
    "index_pat-16-20200617",
    "index_pat-57-20200711",
    "index_pat-57-20200712",
    "index_pat-39-20200630",
    "index_pat-57-20200713",
    "index_pat-57-20200714",
    "index_pat-47-20200701",
    "index_pat-57-20200719",
    "index_pat-57-20200715",
    "index_pat-57-20200716",
    "index_pat-57-20200717",
    "index_pat-57-20200718",
    "index_pat-41-20200721",
    "index_pat-16-20200718",
    "index_pat-16-20200719",
    "index_pat-16-20200721",
    "index_pat-19-20200701",
    "index_pat-16-20200605",
    "index_pat-39-20200524",
    "index_pat-39-20200522",
    "index_pat-19-20200706",
    "index_pat-19-20200707",
    "index_pat-39-20200523",
    "index_pat-19-20200708",
    "index_pat-19-20200709",
    "index_pat-39-20200521",
    "index_pat-44-20200712",
    "index_pat-19-20200702",
    "index_pat-44-20200711",
    "index_pat-19-20200703",
    "index_pat-19-20200704",
    "index_pat-57-20200720",
    "index_pat-57-20200721",
    "index_pat-19-20200705",
    "index_pat-16-20200720",
    "index_pat-47-20200716",
    "index_pat-50-20200711",
    "index_pat-47-20200717",
    "index_pat-47-20200718",
    "index_pat-47-20200719",
    "index_pat-50-20200714",
    "index_pat-50-20200715",
    "index_pat-50-20200712",
    "index_pat-50-20200713",
    "index_pat-50-20200718",
    "index_pat-50-20200719",
    "index_pat-50-20200716",
    "index_pat-50-20200717",
    "index_pat-39-20200609",
    "index_pat-39-20200618",
    "index_pat-39-20200619",
    "index_pat-19-20200710",
    "index_pat-39-20200616",
    "index_pat-19-20200711",
    "index_pat-19-20200712",
    "index_pat-39-20200617",
    "index_pat-39-20200614",
    "index_pat-39-20200615",
    "index_pat-39-20200612",
    "index_pat-39-20200613",
    "index_pat-19-20200717",
    "index_pat-39-20200610",
    "index_pat-39-20200611",
    "index_pat-47-20200720",
    "index_pat-19-20200718",
    "index_pat-19-20200719",
    "index_pat-47-20200721",
    "index_pat-19-20200713",
    "index_pat-19-20200714",
    "index_pat-19-20200715",
    "index_pat-19-20200716",
    "index_pat-50-20200721",
    "index_pat-50-20200720",
    "index_pat-18-20200524",
    "index_pat-42-20200720",
    "index_pat-42-20200721",
    "index_pat-19-20200720",
    "index_pat-39-20200629",
    "index_pat-42-20200711",
    "index_pat-19-20200721",
    "index_pat-42-20200712",
    "index_pat-39-20200627",
    "index_pat-42-20200713",
    "index_pat-42-20200714",
    "index_pat-39-20200628",
    "index_pat-19-20200602",
    "index_pat-39-20200625",
    "index_pat-42-20200715",
    "index_pat-39-20200626",
    "index_pat-42-20200716",
    "index_pat-39-20200623",
    "index_pat-42-20200717",
    "index_pat-39-20200624",
    "index_pat-42-20200718",
    "index_pat-39-20200621",
    "index_pat-42-20200719",
    "index_pat-19-20200608",
    "index_pat-39-20200622",
    "index_pat-39-20200620",
    "index_pat-47-20200711",
    "index_pat-47-20200712",
    "index_pat-47-20200713",
    "index_pat-47-20200714",
    "index_pat-19-20200605",
    "index_pat-47-20200715",
...
    "index_pat-56-20200720",
    "index_pat-43-20200711",
    "index_pat-56-20200721",
    "index_pat-7-20200712",
    "index_pat-7-20200713",
    "index_pat-7-20200714",
    "index_pat-7-20200715",
    "index_pat-7-20200711",
    "index_pat-7-20200716",
    "index_pat-7-20200717",
    "index_pat-7-20200718",
    "index_pat-7-20200719",
    "index_pat-56-20200717",
    "index_pat-56-20200716",
    "index_pat-56-20200715",
    "index_pat-56-20200714",
    "index_pat-43-20200702",
    "index_pat-43-20200707",
    "index_pat-43-20200708",
    "index_pat-56-20200719",
    "index_pat-56-20200718",
    "index_pat-63-20200721",
    "index_pat-60-20200515",
    "index_pat-4-20200711",
    "index_pat-4-20200712",
    "index_pat-4-20200713",
    "index_pat-4-20200714",
    "index_pat-4-20200715",
    "index_pat-4-20200716",
    "index_pat-4-20200717",
    "index_pat-4-20200718",
    "index_pat-18-20320121",
    "index_pat-18-20320122",
    "index_pat-4-20200719",
    "index_pat-63-20200713",
    "index_pat-63-20200712",
    "index_pat-63-20200711",
    "index_pat-63-20200717",
    "index_pat-63-20200716",
    "index_pat-50-20200701",
    "index_pat-63-20200715",
    "index_pat-63-20200714",
    "index_pat-63-20200719",
    "index_pat-63-20200718",
    "index_pat-63-20200720"
  ],
  "fields" : {
    "geoSat" : {
      "object" : {
        "type" : "object",
        "searchable" : false,
        "aggregatable" : false
      }
    },
    "geoSat.geoPoint" : {
      "geo_point" : {
        "type" : "geo_point",
        "searchable" : true,
        "aggregatable" : true
      }
    }
  }
}

```

while (`x` in my case was `16`... 🙂)

```auto
GET index_pat-16-*/_field_caps?fields=geoSat.geoPoint

```

yields

```auto
{
  "indices" : [
    "index_pat-16-20200709",
    "index_pat-16-20200611",
    "index_pat-16-20200710",
    "index_pat-16-20200612",
    "index_pat-16-20200711",
    "index_pat-16-20200712",
    "index_pat-16-20200713",
    "index_pat-16-20200714",
    "index_pat-16-20200715",
    "index_pat-16-20200716",
    "index_pat-16-20200617",
    "index_pat-16-20200717",
    "index_pat-16-20200131",
    "index_pat-16-20200619",
    "index_pat-16-20200718",
    "index_pat-16-20200719",
    "index_pat-16-20200721",
    "index_pat-16-20200525",
    "index_pat-16-20200703",
    "index_pat-16-20200627",
    "index_pat-16-20200605",
    "index_pat-16-20200629",
    "index_pat-16-20200706",
    "index_pat-16-20200521",
    "index_pat-16-20200620",
    "index_pat-16-20200720"
  ],
  "fields" : {
    "geoSat" : {
      "object" : {
        "type" : "object",
        "searchable" : false,
        "aggregatable" : false
      }
    },
    "geoSat.geoPoint" : {
      "geo_point" : {
        "type" : "geo_point",
        "searchable" : true,
        "aggregatable" : true
      }
    }
  }
}

```

1. The type (for `geoSat.geoPoint`) is `geo_point` for both `index_pat-*` and `index_pat-16-*`

🤔

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 21, 2020, 1:40pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/4 "2020-07-21T13:40:06Z")

</div>

It looks like your index patterns are correctly configured.

Can you try 1 more thing, from Stack management -\> Kibana -\> index patterns, can you refresh the field list for each kibana index pattern by clicking refresh button in the upper right. Does this resolve the problem?

---

<div class="post-metadata">

**Author:** ![mattiapdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiapdo/32/73224_2.png) [@mattiapdo](https://discuss.elastic.co/u/mattiapdo)\
**Post date:** [July 22, 2020, 4:52pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/5 "2020-07-22T16:52:01Z")

</div>

Unfortunately, it doesn't ☹

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 22, 2020, 5:33pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/6 "2020-07-22T17:33:03Z")

</div>

How many Kibana index pattern's do you have?

---

<div class="post-metadata">

**Author:** ![mattiapdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiapdo/32/73224_2.png) [@mattiapdo](https://discuss.elastic.co/u/mattiapdo)\
**Post date:** [July 23, 2020, 7:17am UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/7 "2020-07-23T07:17:43Z")

</div>

Currently, there are 13 index patterns.

By the way, I noticed Kibana shows me this error.

 ![error_kibana](https://us1.discourse-cdn.com/elastic/original/3X/1/3/1320098a66787394c08e901478edb71cc07bb663.png)

Here the plain text with the error

```auto
_construct@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/commons.bundle.js:3:2995780
Wrapper@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/commons.bundle.js:3:2994879
HttpFetchError@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/commons.bundle.js:3:2996661
fetchResponse$@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/commons.bundle.js:3:2992334
s@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774550
l/i._invoke</<@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774304
v/</e[t]@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774907
s@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774550
t@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:775046
t/<@https://dev-kibana.xxxxxxxxxxxxxxx.com/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:775196

```

May this be related to our drop down menù issue?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 23, 2020, 11:47am UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/8 "2020-07-23T11:47:32Z")

</div>

Thanks for the error message. That indeed may be the problem. How many fields are in the index pattern? Is the index pattern selectable in Kibana visualization application?

---

<div class="post-metadata">

**Author:** ![mattiapdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiapdo/32/73224_2.png) [@mattiapdo](https://discuss.elastic.co/u/mattiapdo)\
**Post date:** [July 23, 2020, 12:35pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/9 "2020-07-23T12:35:30Z")

</div>

There are 7600 fields.  
We solved setting in the `kibana.yml`

```
server.maxPayloadBytes: 5242880

```

The default 1 Mb was not sufficient, so we increased to 5 Mb.

Thank you very much for the support, by the way!  
🙂

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 23, 2020, 3:08pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/10 "2020-07-23T15:08:28Z")

</div>

That is great you figured out the problem.

I am going to add this to the trouble shooting guide, [https://github.com/elastic/kibana/pull/73066](https://github.com/elastic/kibana/pull/73066). Please add any feedback if you think anything is missing

---

<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:** [August 20, 2020, 3:08pm UTC](https://discuss.elastic.co/t/cannot-select-index-pattern-having-geo-point-field-when-creating-map-layer/241910/11 "2020-08-20T15:08:29Z")

</div>

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