user
user

Reputation: 155

How to get rid "count" from tooltip in Elasticsearch Kibana on coordinate map?

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)

enter image description here

]2]2

enter image description here

Upvotes: 0

Views: 373

Answers (0)

Related Questions