-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update geoip data for test_module (#8401)
- Loading branch information
Showing
6 changed files
with
58 additions
and
62 deletions.
There are no files selected for viewing
81 changes: 39 additions & 42 deletions
81
filebeat/module/haproxy/http/test/haproxy.log-expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters