Kibana 4.6.1 ,elasticsearch 2.4.0,LOGSTASH 2.4
Hi All,
Am trying to create a tile map but iam uanble to create ,its says No Compatible Fields: The "logstash_netflow_cisco_asa-*" index pattern does not contain any of the following field types: geo_point
I have tried curl -XDELETE http://localhost:9200/logstash_netflow_cisco_asa-2016.09.16
then ,
curl -XPUT http://localhost:9200/logstash_netflow_cisco_asa-2016.09.16" -d '
{
"mappings": {
"log": {
"properties": {
"geo": {
"properties": {
"coordinates": {
"type": "geo_point"
}
}
}
}
}
}
}
';after that i refreshed the fields still i dint get the geo point fields.Please do help me to get the geo point.
Thanks,
Raj
I'd start with verifying the mapping in your index. You can get your field mappings like so:
curl -XGET 'http://localhost:9200/logstash_netflow_cisco_asa-2016.09.16/_mapping/'
If you see that coordinates
field is a geo_point
type, then you're good there.
Next, try refreshing the cached mappings in Kibana by clicking on Refresh Field List, under Settings > Indices
Then take a look at the field list and make sure the coordinates
field says geo_point.
Try that first. If that all looks right, then something else is going on.
Thank you for the response Joe, but when i put curl -XGET 'http://localhost:9200/logstash_netflow_cisco_asa-2016.09.16/_mapping/'
Am getting this
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"logstash_netflow_cisco_asa-2016.09.16","index":"logstash_netflow_cisco_asa-2016.09.16"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"logstash_netflow_cisco_asa-2016.09.16","index":"logstash_netflow_cisco_asa-2016.09.16"},"status":404}