title: Geo Point data in ElasticSearch/Kibana from Python app
body: <p>I have a python app and let's suppose I'd like to send to the ELK stack traffic data from my app, so that I visualize my traffic in a map, using kibana map tiles.</p>
  
  <p>My code is:</p>
  
  <pre><code>es = ElasticSearch(hosts=["here is my host"])
  doc = {
      'timestamp': datetime.now(),
      "text": "Geo-point as an object",
      "location": {
          "lat": 41.12,
          "lon": -71.34
      }
  }
  res = es.index(index="test", doc_type='request-info', body=doc)
  </code></pre>
  
  <p>Unluckily though Kibana doesn't recognise it a geo point, so I cannot create any visualization on a map. Specifically it returns an error of <code>"The "index name" index pattern does not contain any of the following field types: geo_point"</code>. </p>
  
  <p>How should I implement such thing, has anybody any ideas about this?</p>
  
  <p>Thanks in advance</p>
  
  <p>ps: I use this python lib <code>https://elasticsearch-py.readthedocs.io/</code></p>