Skip to content

Commit

Permalink
Update geoip data for test_module (#8401)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Sep 24, 2018
1 parent 9749f3d commit 2fb5984
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 62 deletions.
81 changes: 39 additions & 42 deletions filebeat/module/haproxy/http/test/haproxy.log-expected.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
[
{
"haproxy.server_name": "docs",
"haproxy.time_client_req": 0,
"haproxy.geoip.continent_name": "North America",
"haproxy.geoip.city_name": "Mukilteo",
"haproxy.geoip.country_iso_code": "US",
"haproxy.geoip.region_name": "Washington",
"haproxy.geoip.location.lon": -122.3042,
"haproxy.geoip.location.lat": 47.913,
"haproxy.termination_state": "----",
"haproxy.time_queue": 0,
"haproxy.pid": 32450,
"haproxy.client_port": 38862,
"haproxy.backend_queue": 0,
"haproxy.process_name": "haproxy",
"haproxy.backend_name": "docs_microservice",
"haproxy.http.request.raw_request_line": "GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1",
"haproxy.http.request.captured_cookie": "-",
"@timestamp": "2018-07-30T09:03:52.726Z",
"fileset.module": "haproxy",
"fileset.name": "http",
"haproxy.backend_name": "docs_microservice",
"haproxy.backend_queue": 0,
"haproxy.client_ip": "1.2.3.4",
"haproxy.client_port": 38862,
"haproxy.connections.active": 6,
"haproxy.connections.backend": 0,
"haproxy.connections.frontend": 6,
"haproxy.connections.retries": 0,
"haproxy.connections.server": 0,
"haproxy.frontend_name": "incoming~",
"haproxy.geoip.continent_name": "North America",
"haproxy.geoip.country_iso_code": "US",
"haproxy.geoip.location.lat": 37.751,
"haproxy.geoip.location.lon": -97.822,
"haproxy.http.request.captured_cookie": "-",
"haproxy.http.request.captured_headers": [
"docs.example.internal"
],
"haproxy.http.response.captured_cookie": "-",
"haproxy.http.response.captured_headers": [],
"haproxy.http.response.status_code": 304,
"haproxy.http.response.bytes_read": 168,
"haproxy.frontend_name": "incoming~",
"haproxy.time_duration": 2,
"haproxy.time_server_response": 0,
"haproxy.server_queue": 0,
"haproxy.client_ip": "1.2.3.4",
"haproxy.time_backend_connect": 1,
"haproxy.connections.server": 0,
"haproxy.connections.retries": 0,
"haproxy.connections.active": 6,
"haproxy.connections.backend": 0,
"haproxy.connections.frontend": 6,
"@timestamp": "2018-07-30T09:03:52.726Z",
"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\"",
"input.type": "log",
"prospector.type": "log",
"fileset.module": "haproxy",
"fileset.name": "http",
"haproxy.geoip.region_iso_code": "US-WA",
"offset": 0
],
"haproxy.http.request.raw_request_line": "GET /component---src-pages-index-js-4b15624544f97cf0bb8f.js HTTP/1.1",
"haproxy.http.response.bytes_read": 168,
"haproxy.http.response.captured_cookie": "-",
"haproxy.http.response.captured_headers": [],
"haproxy.http.response.status_code": 304,
"haproxy.pid": 32450,
"haproxy.process_name": "haproxy",
"haproxy.server_name": "docs",
"haproxy.server_queue": 0,
"haproxy.termination_state": "----",
"haproxy.time_backend_connect": 1,
"haproxy.time_client_req": 0,
"haproxy.time_duration": 2,
"haproxy.time_queue": 0,
"haproxy.time_server_response": 0,
"input.type": "log",
"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\"",
"offset": 0,
"prospector.type": "log"
}
]
]
8 changes: 4 additions & 4 deletions filebeat/module/iis/access/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"iis.access.geoip.city_name": "Berlin",
"iis.access.geoip.continent_name": "Europe",
"iis.access.geoip.country_iso_code": "DE",
"iis.access.geoip.location.lat": 52.5167,
"iis.access.geoip.location.lon": 13.4,
"iis.access.geoip.location.lat": 52.4908,
"iis.access.geoip.location.lon": 13.3275,
"iis.access.geoip.region_iso_code": "DE-BE",
"iis.access.geoip.region_name": "Land Berlin",
"iis.access.method": "GET",
Expand Down Expand Up @@ -74,8 +74,8 @@
"iis.access.geoip.city_name": "Berlin",
"iis.access.geoip.continent_name": "Europe",
"iis.access.geoip.country_iso_code": "DE",
"iis.access.geoip.location.lat": 52.5167,
"iis.access.geoip.location.lon": 13.4,
"iis.access.geoip.location.lat": 52.4908,
"iis.access.geoip.location.lon": 13.3275,
"iis.access.geoip.region_iso_code": "DE-BE",
"iis.access.geoip.region_name": "Land Berlin",
"iis.access.hostname": "example.com",
Expand Down
12 changes: 6 additions & 6 deletions filebeat/module/iis/error/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"iis.error.geoip.city_name": "Berlin",
"iis.error.geoip.continent_name": "Europe",
"iis.error.geoip.country_iso_code": "DE",
"iis.error.geoip.location.lat": 52.5167,
"iis.error.geoip.location.lon": 13.4,
"iis.error.geoip.location.lat": 52.4908,
"iis.error.geoip.location.lon": 13.3275,
"iis.error.geoip.region_iso_code": "DE-BE",
"iis.error.geoip.region_name": "Land Berlin",
"iis.error.http_version": "1.1",
Expand All @@ -49,8 +49,8 @@
"iis.error.geoip.city_name": "Berlin",
"iis.error.geoip.continent_name": "Europe",
"iis.error.geoip.country_iso_code": "DE",
"iis.error.geoip.location.lat": 52.5167,
"iis.error.geoip.location.lon": 13.4,
"iis.error.geoip.location.lat": 52.4908,
"iis.error.geoip.location.lon": 13.3275,
"iis.error.geoip.region_iso_code": "DE-BE",
"iis.error.geoip.region_name": "Land Berlin",
"iis.error.http_version": "2.0",
Expand All @@ -74,8 +74,8 @@
"iis.error.geoip.city_name": "Berlin",
"iis.error.geoip.continent_name": "Europe",
"iis.error.geoip.country_iso_code": "DE",
"iis.error.geoip.location.lat": 52.5167,
"iis.error.geoip.location.lon": 13.4,
"iis.error.geoip.location.lat": 52.4908,
"iis.error.geoip.location.lon": 13.3275,
"iis.error.geoip.region_iso_code": "DE-BE",
"iis.error.geoip.region_name": "Land Berlin",
"iis.error.queue_name": "-",
Expand Down
8 changes: 4 additions & 4 deletions filebeat/module/nginx/access/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"nginx.access.geoip.city_name": "Berlin",
"nginx.access.geoip.continent_name": "Europe",
"nginx.access.geoip.country_iso_code": "DE",
"nginx.access.geoip.location.lat": 52.5167,
"nginx.access.geoip.location.lon": 13.4,
"nginx.access.geoip.location.lat": 52.4908,
"nginx.access.geoip.location.lon": 13.3275,
"nginx.access.geoip.region_iso_code": "DE-BE",
"nginx.access.geoip.region_name": "Land Berlin",
"nginx.access.http_version": "1.1",
Expand Down Expand Up @@ -102,8 +102,8 @@
"nginx.access.geoip.city_name": "Berlin",
"nginx.access.geoip.continent_name": "Europe",
"nginx.access.geoip.country_iso_code": "DE",
"nginx.access.geoip.location.lat": 52.5167,
"nginx.access.geoip.location.lon": 13.4,
"nginx.access.geoip.location.lat": 52.4908,
"nginx.access.geoip.location.lon": 13.3275,
"nginx.access.geoip.region_iso_code": "DE-BE",
"nginx.access.geoip.region_name": "Land Berlin",
"nginx.access.http_version": "1.1",
Expand Down
7 changes: 3 additions & 4 deletions filebeat/module/system/auth/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@
"system.auth.hostname": "slave22",
"system.auth.pid": "5774",
"system.auth.ssh.event": "Failed",
"system.auth.ssh.geoip.city_name": "Shenzhen",
"system.auth.ssh.geoip.continent_name": "Asia",
"system.auth.ssh.geoip.country_iso_code": "CN",
"system.auth.ssh.geoip.location.lat": 22.5333,
"system.auth.ssh.geoip.location.lon": 114.1333,
"system.auth.ssh.geoip.region_iso_code": "CN-44",
"system.auth.ssh.geoip.location.lat": 23.1167,
"system.auth.ssh.geoip.location.lon": 113.25,
"system.auth.ssh.geoip.region_iso_code": "CN-GD",
"system.auth.ssh.geoip.region_name": "Guangdong",
"system.auth.ssh.ip": "116.31.116.24",
"system.auth.ssh.method": "password",
Expand Down
4 changes: 2 additions & 2 deletions filebeat/module/traefik/access/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"traefik.access.geoip.city_name": "Berlin",
"traefik.access.geoip.continent_name": "Europe",
"traefik.access.geoip.country_iso_code": "DE",
"traefik.access.geoip.location.lat": 52.5167,
"traefik.access.geoip.location.lon": 13.4,
"traefik.access.geoip.location.lat": 52.4908,
"traefik.access.geoip.location.lon": 13.3275,
"traefik.access.geoip.region_iso_code": "DE-BE",
"traefik.access.geoip.region_name": "Land Berlin",
"traefik.access.http_version": "1.1",
Expand Down

0 comments on commit 2fb5984

Please sign in to comment.