There are no errors in the elasticsearch logs as well
But when I go to Kibana to create a visualization for this field, I cannot find it (I refreshed the field)
I checked the index pattern for this field and it's generated as a number field - maybe it needs to be changed in logstash?
Following is the logstash output sent to stdout - It seems like the problem is here with location - instead of putting the lat/long in an array in location variable, it's adding as "lot" and "lon" name/value pairs and this resolves to a number....
Looking at the docs here: https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html
It looks fine that lat/lon are the way they are in your example. Are you expecting to see lat/lon appear in the list of fields when creating the index pattern? I'm trying to understand what exactly is the problem.
The problem is that I started by following a pluralsight tutorial from 2015 - all was going well until I got to the geopoint location in maps - I saw the elastic docs after posting and edited at the top with someone else reporting the problem as well
I've managed to narrow down the problem I think
Filebeat reads IIS logs and sends them to logstash
I wrote a grok pattern in IIS to parse my logs - this is part of the pattern that does that
%{IPORHOST:clienthost}
logstash groks the text and sends it forward to elasticsearch - following is part of the message that's posted
I'd suggest you split the sources out into their own indices, having so many different types of data in a single index can cause problems down the line - think mapping collisions, better source retention management etc.
Are you refreshing the mappings for the pattern in Management? If so the template won't be applied until you create a new index (ie UTC0000). You may also run into conflicts if you've done this unfortunately.
I'm not sure if it is due to your geoip configuration issue. If it is still doesn't work, you might want to try to replace it with IP2Location Filter which provides similar geolocation features.
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.