Skip to content

Conversation

@Enrico204
Copy link

This commit renames the geoip field for dest_ip to geoip_dest in
logstash.conf and creates a new mapping in elasticsearch6-template.json.

In logstash configuration, GeoIP is used for both dest_ip and src_ip
if both are present. However, the target field have the same name
(geoip) for both, so in the end the dest_ip GeoIP will overwrite the
src_ip one.

Fixes #183

This commit renames the `geoip` field for `dest_ip` to `geoip_dest` in
`logstash.conf` and creates a new mapping in `elasticsearch6-template.json`.

In logstash configuration, GeoIP is used for both `dest_ip` and `src_ip`
if both are present. However, the `target` field have the same name
(`geoip`) for both, so in the end the `dest_ip` GeoIP will overwrite the
`src_ip` one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GeoIP informations mapped for wrong IP

1 participant