I created the .conf file and executed through the log stash. It filters using the geo ip.
It creates the data according to requirement.
When I open Kibana and try to visualise in the coordinate map it is not visible even after choosing location in geopoint. I created the template on the console for the index eve then it is not visible.
When I try to create an index through console and visualise the map then it shows in the map.
The geoip plugin stores the location in geoip.location and not just location which what you have specified in your mapping. Get the mapping from the actual index (not the template) and check what the mapping for the relevant fields are.
#! Deprecation: [default] mapping is deprecated since it is not useful anymore now that indexes cannot have more than one type
{
"acknowledged": true,
"shards_acknowledged": true,
"index": "logstash-venkat"
}
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [logstash-venkat] as the final mapping would have more than 1 type: [logs, my_type]"
}
],
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [logstash-venkat] as the final mapping would have more than 1 type: [logs, my_type]"
},
"status": 400
}
Stop indexing, delete and recreate the index with the correct mapping and the restart indexing. Or even better - create an index template with the correct mapping so it is automatically applied when a new index is created.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.