Hi ! (Previously opened this issue in kibana forum, but I found it look more like ES problem after couple of debugging steps. Kibana not plotting my Geo_point)
so here is my mapping for my index
"mappings": {
"geoip": {
"properties": {
"geoip": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
}
},
I'm getting data (from geoip logstash plugin) and it look like the are good:
the Es query look good to me
{
"aggs": {
"filter_agg": {
"filter": {
"geo_bounding_box": {
"ignore_unmapped": true,
"geoip.location": {
"top_left": {
"lat": 90,
"lon": -180
},
"bottom_right": {
"lat": -90,
"lon": 180
}
}
}
},
"aggs": {
"2": {
"geohash_grid": {
"field": "geoip.location",
"precision": 2
},
"aggs": {
"3": {
"geo_centroid": {
"field": "geoip.location"
}
}
}
}
}
}
},
"size": 0,
"_source": {
"excludes": []
},
"stored_fields": [
"*"
],
"script_fields": {},
"docvalue_fields": [
{
"field": "@timestamp",
"format": "date_time"
}
],
"query": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"gte": 1551452442418,
"lte": 1551453342418,
"format": "epoch_millis"
}
}
}
],
"filter": [
{
"match_all": {}
},
{
"match_all": {}
}
],
"should": [],
"must_not": []
}
}
}
but it return not result ( i checked that I had data in the time period)
{
"took": 10,
"timed_out": false,
"_shards": {
"total": 10,
"successful": 10,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 351,
"max_score": 0,
"hits": []
},
"aggregations": {
"filter_agg": {
"2": {
"buckets": []
},
"doc_count": 0
}
},
"status": 200
}
I'm I missing something / any idea on what next I can do to troubleshoot this ?
many thanks