Skip to content

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

Open
Enrico204 wants to merge 1 commit intoStamusNetworks:masterfrom
Enrico204:master
Open

Change GeoIP field name for dest_ip to not overlap with GeoIP for src_ip#184
Enrico204 wants to merge 1 commit intoStamusNetworks:masterfrom
Enrico204:master

Conversation

@Enrico204
Copy link
Copy Markdown

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