I am trying to use Kibana 4.5.4 with elasticsearch 2.4.1 to visualize log data in elasticsearch. However, Kibana seems to be having problems detecting which fields are indexed. In particular, it appears to be unable to detect if a field is indexed unless a non-default index option is chosen.
For example, it only detects if a string is indexed if the index option is set to "not_analyzed". However, if the index option is set to "analyzed", Kibana will not list it as an indexed field. The opposite is true for numbers. While, according to the documentation, a numeric type should not support "analyzed", Kibana seems to be requiring index to be set to that option. Here is an example of a manifest set that works:
"disk_part" : {
"type" : "string",
"index": "not_analyzed",
"store": "yes",
"doc_values" : True
},
"mem_available" : {
"type" : "long",
"index": "analyzed",
"store": "yes",
"doc_values" : True
},
I could live with this hack, but I can't figure out how to get geo points working. My only guess is it is somehow related to a bit of a strange bug where include_defaults does not seem to do anything when making a request.
with :9200/status/_mapping/?pretty&include_defaults=true :
...
"position" : {
"type" : "geo_point",
"store" : true,
"lat_lon" : true,
"geohash" : true
},
...
with :9200/status/_mapping/?pretty :
...
"position" : {
"type" : "geo_point",
"store" : true,
"lat_lon" : true,
"geohash" : true
},
...
Thank you for your help.