diff --git a/docs/static/transforming-data.asciidoc b/docs/static/transforming-data.asciidoc index 9c2e8125e7..ddd9a298d0 100644 --- a/docs/static/transforming-data.asciidoc +++ b/docs/static/transforming-data.asciidoc @@ -433,19 +433,28 @@ The <> adds geographical information about t filter { geoip { source => "clientip" + target => "[source]" } } -------------------------------------------------------------------------------- + -After the geoip filter is applied, the event will be enriched with geoip fields. +After the geoip filter is applied, the event is enriched with geoip fields. For example: + [source,json] -------------------------------------------------------------------------------- -filter { - geoip { - source => "clientip" - } +"source" => { + "geo" => { + "country_name" => "France", + "country_iso_code" => "FR", + "continent_code" => "EU", + "location" => { + "lon" => 2.3387, + "lat" => 48.8582 + }, + "timezone" => "Europe/Paris" + }, + "ip" => "82.67.74.30" } --------------------------------------------------------------------------------