I have a json that looks like this
This is my problem:
I need to get positions of gateways (antennaLongitude, antennaLatitude) as a geo_point type
and make a kibana map that contains the posititions of gateways. But the field gateways is nested and contains many gateways[0..n] how can I get these geopoints in elasticsearch!? I did split() in logstash but split will multiply the hole document n times (n is number of gateways ) which is not correct for my case.
Can I index these positions as an array of geo_points ? and how ?