Skip to content

Commit 099f1fd

Browse files
[Doc] add http proxy example (#207)
Co-authored-by: Karen Metts <[email protected]>
1 parent feeb56b commit 099f1fd

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
## 7.2.12
2+
- [DOC] Add `http_proxy` environment variable for GeoIP service endpoint. The feature is included in 8.1.0, and was back-ported to 7.17.2 [#207](https://github.com/logstash-plugins/logstash-filter-geoip/pull/207)
3+
14
## 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+
- Improved compatibility with the Elastic Common Schema [#206](https://github.com/logstash-plugins/logstash-filter-geoip/pull/206)
6+
- 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.
7+
- [DOC] Improve ECS-related documentation
58

69
## 7.2.10
710
- [DOC] Air-gapped environment requires both ASN and City databases [#204](https://github.com/logstash-plugins/logstash-filter-geoip/pull/204)

docs/index.asciidoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,15 @@ TIP: When possible, allow Logstash to access the internet to download databases
7575
[id="plugins-{type}s-{plugin}-manage_update"]
7676
==== Manage your own database updates
7777

78-
**Use a proxy endpoint**
78+
**Use an HTTP proxy**
7979

8080
If you can't connect directly to the Elastic GeoIP endpoint, consider setting up
81-
a secure proxy. You can then specify the proxy endpoint URL in the
82-
`xpack.geoip.download.endpoint` setting in `logstash.yml` file.
81+
an HTTP proxy server. You can then specify the proxy with `http_proxy` environment variable.
82+
83+
[source,sh]
84+
----
85+
export http_proxy="http://PROXY_IP:PROXY_PORT"
86+
----
8387

8488
**Use a custom endpoint (air-gapped environments)**
8589

logstash-filter-geoip.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-filter-geoip'
4-
s.version = '7.2.11'
4+
s.version = '7.2.12'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Adds geographical information about an IP address"
77
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

Comments
 (0)