Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change GeoIP field name for dest_ip to not overlap with GeoIP for src_ip #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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