# Coordinate Map Does Not Retrieve Information from Wildcard

**URL:** https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370
**Category:** Kibana
**Tags:** maps
**Created:** [February 21, 2020, 1:16pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370 "2020-02-21T13:16:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![4T14S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/4t14s/32/63108_2.png) [@4T14S](https://discuss.elastic.co/u/4T14S)
#### Post date: [February 21, 2020, 1:16pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/1 "2020-02-21T13:16:46Z")

</div>

Good morning!

I was building a visualization on kibana, specifically a coordinate map, it is loading info from the index pattern as usually but when I try to buid a new coordinate map that loads the coordinates using a wildcard (in this case I only have an index pattern which I want the wildcard to make reference of), no information is retrieved, when I look into the configuration fields of the wildcard does not show conflict as a type of field but geo\_point, I appreciate any help on this matter

---

<div class="post-metadata">

### Author: ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)
#### Post date: [February 21, 2020, 3:52pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/2 "2020-02-21T15:52:48Z")

</div>

Hi, have you checked the query that is triggered using the `Inspect` tab? You can try to run that query against your pattern from the Dev Tools and see if you get some further info about what could be causing that.

For example, using the Flights dataset, when creating a new Coordinate Map in 7.5.1 you get this query when you ask for the last year fo data

```
{
  "aggs": {
    "2": {
      "geohash_grid": {
        "field": "OriginLocation",
        "precision": 2
      },
      "aggs": {
        "3": {
          "geo_centroid": {
            "field": "OriginLocation"
          }
        }
      }
    }
  },
  "size": 0,
  "_source": {
    "excludes": []
  },
  "stored_fields": [
    "*"
  ],
  "script_fields": {
    "hour_of_day": {
      "script": {
        "source": "doc['timestamp'].value.hourOfDay",
        "lang": "painless"
      }
    }
  },
  "docvalue_fields": [
    {
      "field": "timestamp",
      "format": "date_time"
    }
  ],
  "query": {
    "bool": {
      "must": [],
      "filter": [
        {
          "match_all": {}
        },
        {
          "range": {
            "timestamp": {
              "format": "strict_date_optional_time",
              "gte": "2019-02-21T15:48:08.658Z",
              "lte": "2020-02-21T15:48:08.658Z"
            }
          }
        }
      ],
      "should": [],
      "must_not": []
    }
  }
}

```

You can copy that query payload and paste in into the Dev Tools with the following request and see the results

```
GET kibana_sample_data_flights/_search
{ ... }
```

---

<div class="post-metadata">

### Author: ![4T14S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/4t14s/32/63108_2.png) [@4T14S](https://discuss.elastic.co/u/4T14S)
#### Post date: [February 21, 2020, 5:14pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/3 "2020-02-21T17:14:19Z")

</div>

I inspected the visualization and requested that query on the wildcard following the steps you have provided, I do not see in the response query, references to the index pattern that has the geo\_point information, which is confusing because when you start the visualization tool to create that map kibana loads the geohash I am looking for but when you click on play button no information shows, also when loading the wildcard fields the geopoint is there as searchable and agregatable.

---

<div class="post-metadata">

### Author: ![4T14S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/4t14s/32/63108_2.png) [@4T14S](https://discuss.elastic.co/u/4T14S)
#### Post date: [February 21, 2020, 7:18pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/4 "2020-02-21T19:18:58Z")

</div>

What I really need to accomplish is to use wildcard to load info on a map, it does it from an index pattern but no from wildcard

---

<div class="post-metadata">

### Author: ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)
#### Post date: [February 24, 2020, 10:26am UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/5 "2020-02-24T10:26:11Z")

</div>

Sorry but I don't follow what you mean by `wildcard` here. Coordinate maps can be created from a saved search or index patterns. Maybe could you share some screenshots or code of what you are trying to accomplish? Which versions of the Elastic Stack are you using?

---

<div class="post-metadata">

### Author: ![4T14S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/4t14s/32/63108_2.png) [@4T14S](https://discuss.elastic.co/u/4T14S)
#### Post date: [February 26, 2020, 1:09pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/6 "2020-02-26T13:09:05Z")

</div>

Yes of course! Let me share pictures here:  
This is the NDJSON I want to load into a kibana coordinate an example data like:  
{"index":{"\_id":10}}  
{"zone":"11.1111, 02.0000","latitude":"11.1111","longitude":"02.0000", "date":"12/02/2020"}  
when I create the index pattern testing1:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8adde53c40b7fc9252f978c93ce2c872d156811f.png)  
after the map loads well, I create the index pattern testing\* and it correctly imports the data:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6cdfb2492aa077bf6f14f12cd5a2b92675cf080b.png)  
after that, when creating the visualization coordinate map using the index pattern testing\*:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/3/330543f03aeb345f768b5cde25e06bb5ff90b644.png)  
nothing shows up

---

<div class="post-metadata">

### Author: ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)
#### Post date: [February 26, 2020, 2:55pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/7 "2020-02-26T14:55:01Z")

</div>

Thanks for sharing your screenshots and data. Not sure what's going on, I haven't been able to reproduce so let me share my steps:

On a `7.6.0`\* instance I created an index with your schema and added the same document you shared:

```
PUT /discuss_testing/
{
  "mappings": {
    "properties": {
      "zone": { "type": "geo_point"},
      "latitude": { "type": "float"},
      "longitude": { "type": "float"},
      "date": {"type": "date", "format": "dd/MM/yyyy"}
    }
  }
}

POST /discuss_testing/_bulk
{"index":{"_id":10}}
{"zone":"11.1111, 02.0000","latitude":"11.1111","longitude":"02.0000", "date":"12/02/2020"}

```

Then I created two index patterns one just for the index and another with the wildcard for potentially any new indexes:

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d7d46ee9f454679fd02dd5a8c0588abcae3a6ccc.png)

Now, both index patterns allow me to create a new Coordinate Map visualization without issues:

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

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

Am I doing something differently than you? Which version of the Elastic Stack are you using?

\* Mind that for `7.6.0` the Region and Coordinate Map visualizations need to be enabled explicitly using this setting in the `kibana.yml` file: `xpack.maps.showMapVisualizationTypes: true`.

---

<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: [March 25, 2020, 2:57pm UTC](https://discuss.elastic.co/t/coordinate-map-does-not-retrieve-information-from-wildcard/220370/8 "2020-03-25T14:57:22Z")

</div>

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