You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
## 7.2.11
2
+
- Improved compatibility with the Elastic Common Schema [#206](https://github.com/logstash-plugins/logstash-filter-geoip/pull/206)
3
+
- Added support for ECS's composite `region_iso_code` (`US-WA`), which _replaces_ the non-ECS `region_code` (`WA`) as a default field with City databases. To get the stand-alone `region_code` in ECS mode, you must include it in the `fields` directive.
4
+
-[DOC] Improve ECS-related documentation
5
+
1
6
## 7.2.10
2
7
-[DOC] Air-gapped environment requires both ASN and City databases [#204](https://github.com/logstash-plugins/logstash-filter-geoip/pull/204)
When this plugin is run with <<plugins-{type}s-{plugin}-ecs_compatibility>> disabled, the MaxMind DB's fields are added directly to the <<plugins-{type}s-{plugin}-target>>.
176
+
When ECS compatibility is enabled, the fields are structured to fit into an ECS shape.
the `[geoip][location]` field to an {ref}/geo-point.html[Elasticsearch Geo_point datatype].
219
+
When using a City database, the enrichment is aborted if no latitude/longitude pair is available.
220
+
221
+
The `location` field combines the latitude and longitude into a structure called https://datatracker.ietf.org/doc/html/rfc7946[GeoJSON].
222
+
When you are using a default <<plugins-{type}s-{plugin}-target>>, the templates provided by the {logstash-ref}/plugins-outputs-elasticsearch.html[elasticsearch output] map the field to an {ref}/geo-point.html[Elasticsearch Geo_point datatype].
180
223
181
224
As this field is a `geo_point` _and_ it is still valid GeoJSON, you get
182
225
the awesomeness of Elasticsearch's geospatial query, facet and filter functions
@@ -242,16 +285,16 @@ number of cache misses and waste memory.
242
285
===== `database`
243
286
244
287
* Value type is <<path,path>>
245
-
* If not specified, the database defaults to the GeoLite2 City database that ships with Logstash.
288
+
* If not specified, the database defaults to the `GeoLite2 City` database that ships with Logstash.
246
289
247
-
The path to MaxMind's database file that Logstash should use. The default database is GeoLite2-City.
248
-
GeoLite2-City, GeoLite2-Country, GeoLite2-ASN are the free databases from MaxMind that are supported.
249
-
GeoIP2-City, GeoIP2-ISP, GeoIP2-Country are the commercial databases from MaxMind that are supported.
290
+
The path to MaxMind's database file that Logstash should use.
291
+
The default database is `GeoLite2-City`.
292
+
This plugin supports several free databases (`GeoLite2-City`, `GeoLite2-Country`, `GeoLite2-ASN`)
293
+
and a selection of commercially-licensed databases (`GeoIP2-City`, `GeoIP2-ISP`, `GeoIP2-Country`).
250
294
251
-
Database auto-update applies to default distribution. When `database` points to user's database path,
252
-
auto-update will be disabled.
253
-
See
254
-
<<plugins-{type}s-{plugin}-database_license,Database License>> for more information.
295
+
Database auto-update applies to the default distribution.
296
+
When `database` points to user's database path, auto-update is disabled.
297
+
See <<plugins-{type}s-{plugin}-database_license,Database License>> for more information.
For a complete list of available fields and how they map to an event's structure, see <<plugins-{type}s-{plugin}-field-mapping,field mapping>>.
280
320
281
321
[id="plugins-{type}s-{plugin}-ecs_compatibility"]
282
322
===== `ecs_compatibility`
283
323
284
324
* Value type is <<string,string>>
285
325
* Supported values are:
286
326
** `disabled`: unstructured geo data added at root level
287
-
** `v1`, `v8`: uses fields that are compatible with Elastic Common Schema (for example, `[client][geo][country_name]`)
327
+
** `v1`, `v8`: use fields that are compatible with Elastic Common Schema. Example: `[client][geo][country_name]`. See <<plugins-{type}s-{plugin}-field-mapping,field mapping>> for more info.
288
328
* Default value depends on which version of Logstash is running:
289
329
** When Logstash provides a `pipeline.ecs_compatibility` setting, its value is used as the default
Copy file name to clipboardExpand all lines: logstash-filter-geoip.gemspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Gem::Specification.newdo |s|
2
2
3
3
s.name='logstash-filter-geoip'
4
-
s.version='7.2.10'
4
+
s.version='7.2.11'
5
5
s.licenses=['Apache License (2.0)']
6
6
s.summary="Adds geographical information about an IP address"
7
7
s.description="This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
0 commit comments