Skip to content

Commit ca81155

Browse files
authored
Update geoip data for test_module (#8401) (#8402)
(cherry picked from commit 2fb5984)
1 parent 85ccfbe commit ca81155

File tree

6 files changed

+58
-62
lines changed

6 files changed

+58
-62
lines changed
Lines changed: 39 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,44 @@
11
[
22
{
3-
"haproxy.server_name": "docs",
4-
"haproxy.time_client_req": 0,
5-
"haproxy.geoip.continent_name": "North America",
6-
"haproxy.geoip.city_name": "Mukilteo",
7-
"haproxy.geoip.country_iso_code": "US",
8-
"haproxy.geoip.region_name": "Washington",
9-
"haproxy.geoip.location.lon": -122.3042,
10-
"haproxy.geoip.location.lat": 47.913,
11-
"haproxy.termination_state": "----",
12-
"haproxy.time_queue": 0,
13-
"haproxy.pid": 32450,
14-
"haproxy.client_port": 38862,
15-
"haproxy.backend_queue": 0,
16-
"haproxy.process_name": "haproxy",
17-
"haproxy.backend_name": "docs_microservice",
18-
"haproxy.http.request.raw_request_line": "GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1",
19-
"haproxy.http.request.captured_cookie": "-",
3+
"@timestamp": "2018-07-30T09:03:52.726Z",
4+
"fileset.module": "haproxy",
5+
"fileset.name": "http",
6+
"haproxy.backend_name": "docs_microservice",
7+
"haproxy.backend_queue": 0,
8+
"haproxy.client_ip": "1.2.3.4",
9+
"haproxy.client_port": 38862,
10+
"haproxy.connections.active": 6,
11+
"haproxy.connections.backend": 0,
12+
"haproxy.connections.frontend": 6,
13+
"haproxy.connections.retries": 0,
14+
"haproxy.connections.server": 0,
15+
"haproxy.frontend_name": "incoming~",
16+
"haproxy.geoip.continent_name": "North America",
17+
"haproxy.geoip.country_iso_code": "US",
18+
"haproxy.geoip.location.lat": 37.751,
19+
"haproxy.geoip.location.lon": -97.822,
20+
"haproxy.http.request.captured_cookie": "-",
2021
"haproxy.http.request.captured_headers": [
2122
"docs.example.internal"
22-
],
23-
"haproxy.http.response.captured_cookie": "-",
24-
"haproxy.http.response.captured_headers": [],
25-
"haproxy.http.response.status_code": 304,
26-
"haproxy.http.response.bytes_read": 168,
27-
"haproxy.frontend_name": "incoming~",
28-
"haproxy.time_duration": 2,
29-
"haproxy.time_server_response": 0,
30-
"haproxy.server_queue": 0,
31-
"haproxy.client_ip": "1.2.3.4",
32-
"haproxy.time_backend_connect": 1,
33-
"haproxy.connections.server": 0,
34-
"haproxy.connections.retries": 0,
35-
"haproxy.connections.active": 6,
36-
"haproxy.connections.backend": 0,
37-
"haproxy.connections.frontend": 6,
38-
"@timestamp": "2018-07-30T09:03:52.726Z",
39-
"message": "Jul 30 09:03:52 localhost haproxy[32450]: 1.2.3.4:38862 [30/Jul/2018:09:03:52.726] incoming~ docs_microservice/docs 0/0/1/0/2 304 168 - - ---- 6/6/0/0/0 0/0 {docs.example.internal||} {|||} \"GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1\"",
40-
"input.type": "log",
41-
"prospector.type": "log",
42-
"fileset.module": "haproxy",
43-
"fileset.name": "http",
44-
"haproxy.geoip.region_iso_code": "US-WA",
45-
"offset": 0
23+
],
24+
"haproxy.http.request.raw_request_line": "GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1",
25+
"haproxy.http.response.bytes_read": 168,
26+
"haproxy.http.response.captured_cookie": "-",
27+
"haproxy.http.response.captured_headers": [],
28+
"haproxy.http.response.status_code": 304,
29+
"haproxy.pid": 32450,
30+
"haproxy.process_name": "haproxy",
31+
"haproxy.server_name": "docs",
32+
"haproxy.server_queue": 0,
33+
"haproxy.termination_state": "----",
34+
"haproxy.time_backend_connect": 1,
35+
"haproxy.time_client_req": 0,
36+
"haproxy.time_duration": 2,
37+
"haproxy.time_queue": 0,
38+
"haproxy.time_server_response": 0,
39+
"input.type": "log",
40+
"message": "Jul 30 09:03:52 localhost haproxy[32450]: 1.2.3.4:38862 [30/Jul/2018:09:03:52.726] incoming~ docs_microservice/docs 0/0/1/0/2 304 168 - - ---- 6/6/0/0/0 0/0 {docs.example.internal||} {|||} \"GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1\"",
41+
"offset": 0,
42+
"prospector.type": "log"
4643
}
47-
]
44+
]

filebeat/module/iis/access/test/test.log-expected.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"iis.access.geoip.city_name": "Berlin",
77
"iis.access.geoip.continent_name": "Europe",
88
"iis.access.geoip.country_iso_code": "DE",
9-
"iis.access.geoip.location.lat": 52.5167,
10-
"iis.access.geoip.location.lon": 13.4,
9+
"iis.access.geoip.location.lat": 52.4908,
10+
"iis.access.geoip.location.lon": 13.3275,
1111
"iis.access.geoip.region_iso_code": "DE-BE",
1212
"iis.access.geoip.region_name": "Land Berlin",
1313
"iis.access.method": "GET",
@@ -72,8 +72,8 @@
7272
"iis.access.geoip.city_name": "Berlin",
7373
"iis.access.geoip.continent_name": "Europe",
7474
"iis.access.geoip.country_iso_code": "DE",
75-
"iis.access.geoip.location.lat": 52.5167,
76-
"iis.access.geoip.location.lon": 13.4,
75+
"iis.access.geoip.location.lat": 52.4908,
76+
"iis.access.geoip.location.lon": 13.3275,
7777
"iis.access.geoip.region_iso_code": "DE-BE",
7878
"iis.access.geoip.region_name": "Land Berlin",
7979
"iis.access.hostname": "example.com",

filebeat/module/iis/error/test/test.log-expected.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"iis.error.geoip.city_name": "Berlin",
2525
"iis.error.geoip.continent_name": "Europe",
2626
"iis.error.geoip.country_iso_code": "DE",
27-
"iis.error.geoip.location.lat": 52.5167,
28-
"iis.error.geoip.location.lon": 13.4,
27+
"iis.error.geoip.location.lat": 52.4908,
28+
"iis.error.geoip.location.lon": 13.3275,
2929
"iis.error.geoip.region_iso_code": "DE-BE",
3030
"iis.error.geoip.region_name": "Land Berlin",
3131
"iis.error.http_version": "1.1",
@@ -49,8 +49,8 @@
4949
"iis.error.geoip.city_name": "Berlin",
5050
"iis.error.geoip.continent_name": "Europe",
5151
"iis.error.geoip.country_iso_code": "DE",
52-
"iis.error.geoip.location.lat": 52.5167,
53-
"iis.error.geoip.location.lon": 13.4,
52+
"iis.error.geoip.location.lat": 52.4908,
53+
"iis.error.geoip.location.lon": 13.3275,
5454
"iis.error.geoip.region_iso_code": "DE-BE",
5555
"iis.error.geoip.region_name": "Land Berlin",
5656
"iis.error.http_version": "2.0",
@@ -74,8 +74,8 @@
7474
"iis.error.geoip.city_name": "Berlin",
7575
"iis.error.geoip.continent_name": "Europe",
7676
"iis.error.geoip.country_iso_code": "DE",
77-
"iis.error.geoip.location.lat": 52.5167,
78-
"iis.error.geoip.location.lon": 13.4,
77+
"iis.error.geoip.location.lat": 52.4908,
78+
"iis.error.geoip.location.lon": 13.3275,
7979
"iis.error.geoip.region_iso_code": "DE-BE",
8080
"iis.error.geoip.region_name": "Land Berlin",
8181
"iis.error.queue_name": "-",

filebeat/module/nginx/access/test/test.log-expected.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"nginx.access.geoip.city_name": "Berlin",
6464
"nginx.access.geoip.continent_name": "Europe",
6565
"nginx.access.geoip.country_iso_code": "DE",
66-
"nginx.access.geoip.location.lat": 52.5167,
67-
"nginx.access.geoip.location.lon": 13.4,
66+
"nginx.access.geoip.location.lat": 52.4908,
67+
"nginx.access.geoip.location.lon": 13.3275,
6868
"nginx.access.geoip.region_iso_code": "DE-BE",
6969
"nginx.access.geoip.region_name": "Land Berlin",
7070
"nginx.access.http_version": "1.1",
@@ -99,8 +99,8 @@
9999
"nginx.access.geoip.city_name": "Berlin",
100100
"nginx.access.geoip.continent_name": "Europe",
101101
"nginx.access.geoip.country_iso_code": "DE",
102-
"nginx.access.geoip.location.lat": 52.5167,
103-
"nginx.access.geoip.location.lon": 13.4,
102+
"nginx.access.geoip.location.lat": 52.4908,
103+
"nginx.access.geoip.location.lon": 13.3275,
104104
"nginx.access.geoip.region_iso_code": "DE-BE",
105105
"nginx.access.geoip.region_name": "Land Berlin",
106106
"nginx.access.http_version": "1.1",

filebeat/module/system/auth/test/test.log-expected.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@
5656
"system.auth.hostname": "slave22",
5757
"system.auth.pid": "5774",
5858
"system.auth.ssh.event": "Failed",
59-
"system.auth.ssh.geoip.city_name": "Shenzhen",
6059
"system.auth.ssh.geoip.continent_name": "Asia",
6160
"system.auth.ssh.geoip.country_iso_code": "CN",
62-
"system.auth.ssh.geoip.location.lat": 22.5333,
63-
"system.auth.ssh.geoip.location.lon": 114.1333,
64-
"system.auth.ssh.geoip.region_iso_code": "CN-44",
61+
"system.auth.ssh.geoip.location.lat": 23.1167,
62+
"system.auth.ssh.geoip.location.lon": 113.25,
63+
"system.auth.ssh.geoip.region_iso_code": "CN-GD",
6564
"system.auth.ssh.geoip.region_name": "Guangdong",
6665
"system.auth.ssh.ip": "116.31.116.24",
6766
"system.auth.ssh.method": "password",

filebeat/module/traefik/access/test/test.log-expected.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"traefik.access.geoip.city_name": "Berlin",
3434
"traefik.access.geoip.continent_name": "Europe",
3535
"traefik.access.geoip.country_iso_code": "DE",
36-
"traefik.access.geoip.location.lat": 52.5167,
37-
"traefik.access.geoip.location.lon": 13.4,
36+
"traefik.access.geoip.location.lat": 52.4908,
37+
"traefik.access.geoip.location.lon": 13.3275,
3838
"traefik.access.geoip.region_iso_code": "DE-BE",
3939
"traefik.access.geoip.region_name": "Land Berlin",
4040
"traefik.access.http_version": "1.1",

0 commit comments

Comments
 (0)