diff --git a/doc/elk/README.md b/doc/elk/README.md index 6339005..6aae293 100644 --- a/doc/elk/README.md +++ b/doc/elk/README.md @@ -62,7 +62,6 @@ chown kibana:kibana /var/log/kibana ``` wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz -wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz ``` * Place these somewhere in your filesystem and make sure that "logstash" user can read it @@ -150,4 +149,4 @@ http://:9200/_search?q=cowrie&size=5 * Refer to elastic's documentation about proper configuration of the system for the best elasticsearch's performance -* You may avoid installing nginx for restricting access to the kibana by installing official elastic's plugin called "XPack" (https://www.elastic.co/products/x-pack) \ No newline at end of file +* You may avoid installing nginx for restricting access to the kibana by installing official elastic's plugin called "X-Pack" (https://www.elastic.co/products/x-pack) \ No newline at end of file diff --git a/doc/elk/logstash-cowrie.conf b/doc/elk/logstash-cowrie.conf index 225eef0..ecf5f4a 100644 --- a/doc/elk/logstash-cowrie.conf +++ b/doc/elk/logstash-cowrie.conf @@ -34,12 +34,6 @@ filter { source => "src_ip" target => "geoip" database => "/opt/logstash/vendor/geoip/GeoLite2-City.dat" - add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ] - add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}" ] - } - - mutate { - convert => [ "[geoip][coordinates]", "float" ] } } }