Reputation: 155
I load data from RESTful API to Elasticsearch and then visualized in Kibana as Coordinate map.
I did mapping on lat and long and Correctly streamed data to Kibana. In my coordinate map on top of the any point I can see tooltip which contains "count". I do not want to display this "count" on tooltip. I don't know how to remove it. Please any help fpr this?
I did coding in python client with Elasticsearch. I don't know whether I have to do in my code to remove this "Aggregatable" option. I searched in Kibana Cordinate Map tutorials, but didn't find any ways to remove this "count".
settings = {
"settings": {
"number_of_shards": 1,
'number_of_replicas': 0
},
"mappings": {
"document": {
"properties": {
"geo": {
"type": "geo_point"
}
}
}
}
}
es.indices.create(index = "new", body = settings)
def collect_data():
data = requests.get(url = URL).json()
del data['positions'][1]
new_data = {
'geo': {
'lat': data['positions'][0]['satlatitude'],
'lon': data['positions'][0]['satlongitude']
},
'satname': data['info']['satname'],
'satid': data['info']['satid'],
'timestamp': datetime.fromtimestamp(data['positions'][0]['timestamp']).isoformat()
}
es.index(index = 'new', doc_type = 'document', body = new_data)
schedule.every(10).seconds.do(collect_data)
while True:
schedule.run_pending()
time.sleep(1)
Upvotes: 0
Views: 373