I am new to Kibana, have data loaded into Elastic 5.0.0-alpha3 and am using Kibana 5.0.0-alpha3 to Visualise. I can display some numeric fields as histograms but when I want
This code fixes this problem.
PUT megacorp/_mapping/employee { "employee": { "properties": { "interests": { "type": "text", "fielddata": true } } } }
So this code will run thereafter:
GET /megacorp/employee/_search { "aggs": { "all_interests": { "terms": { "field": "interests"} } } }