mirror of https://github.com/cowrie/cowrie.git
Remove redundant [geoip][coordinates] field, since we already have [geoip][location] (added by geoip filter itself) (#440)
This commit is contained in:
parent
e2033c36f3
commit
53ccf45c7c
|
@ -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://<hostname>: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)
|
||||
* 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)
|
|
@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue