# How to visualize nested geopoint

**URL:** https://discuss.elastic.co/t/how-to-visualize-nested-geopoint/128394
**Category:** Kibana
**Created:** [April 17, 2018, 3:44pm UTC](https://discuss.elastic.co/t/how-to-visualize-nested-geopoint/128394 "2018-04-17T15:44:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chrigui94](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@chrigui94](https://discuss.elastic.co/u/chrigui94)
#### Post date: [April 17, 2018, 3:44pm UTC](https://discuss.elastic.co/t/how-to-visualize-nested-geopoint/128394/1 "2018-04-17T15:44:27Z")

</div>

I have a nested field geopoint which contains an array of geopoints like this :  
 ![ge02](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e31385e183d8eaac9234b902153ac1ade803b116.PNG)

 ![geo](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56615976295185ef5f24b637348fd83620e5a9da.PNG)  
The problem that I can't see these 3 geo\_points on kibana  
here is my template:  
"properties" : {  
"@timestamp": { "type": "date", "include\_in\_all": false },  
"@version": { "type": "keyword", "include\_in\_all": false },  
"geoip" : {  
"type" : "geo\_point"  
},  
"geoip\_Dev": {  
"type" : "geo\_point"  
},  
"geoip\_gwy": {  
"type" : "geo\_point"  
},  
"gtwys":{   
"type": "nested",  
"properties": {  
"position": {"type": "geo\_point"},  
"position1": {"type": "geo\_point"}  
}  
}  
}  
and here is my logstash conf  
json {  
source =\> "message"  
}

```
  ruby {
    code => '
      gateways_size = event.get("[gateways]").size
      gateways_size.times do |index|
        event.set("[gtwys][#{index}][position][lat]", event.get("[gateways][#{index}][antennaLatitude]").to_f)
        event.set("[gtwys][#{index}][position][lon]", event.get("[gateways][#{index}][antennaLongitude]").to_f)
		#event.set("[gtwys][position][lat]", event.get("[gateways][#{index}][antennaLatitude]").to_f)
        #event.set("[gtwys][position][lon]", event.get("[gateways][#{index}][antennaLongitude]").to_f)
      end
    '
  }
```

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [April 17, 2018, 6:52pm UTC](https://discuss.elastic.co/t/how-to-visualize-nested-geopoint/128394/2 "2018-04-17T18:52:21Z")

</div>

Objects inside arrays are not supported in Kibana. See [https://github.com/elastic/kibana/issues/998](https://github.com/elastic/kibana/issues/998).

---

<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: [May 15, 2018, 6:52pm UTC](https://discuss.elastic.co/t/how-to-visualize-nested-geopoint/128394/3 "2018-05-15T18:52:38Z")

</div>

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