Skip to content

Commit

Permalink
Update Filebeat module expected logs files (elastic#21454)
Browse files Browse the repository at this point in the history
Elasticsearch added country_name to the list of default field for geo in elastic/elasticsearch#62915. So the expected files needed updated.
  • Loading branch information
andrewkroh authored Oct 2, 2020
1 parent 8e9298e commit 13a5463
Show file tree
Hide file tree
Showing 117 changed files with 2,951 additions and 1,968 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -105,6 +106,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -134,6 +136,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"source.address": "11.19.0.217",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "11.19.0.217",
Expand Down
2 changes: 2 additions & 0 deletions filebeat/module/apache/error/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"source.geo.city_name": "Newnan",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 33.3708,
"source.geo.location.lon": -84.8154,
"source.geo.region_iso_code": "US-GA",
Expand Down Expand Up @@ -84,6 +85,7 @@
"source.geo.city_name": "Beijing",
"source.geo.continent_name": "Asia",
"source.geo.country_iso_code": "CN",
"source.geo.country_name": "China",
"source.geo.location.lat": 39.9288,
"source.geo.location.lon": 116.3889,
"source.geo.region_iso_code": "CN-BJ",
Expand Down
1 change: 1 addition & 0 deletions filebeat/module/haproxy/log/test/default.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"source.geo.city_name": "Moscow",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "RU",
"source.geo.country_name": "Russia",
"source.geo.location.lat": 55.7527,
"source.geo.location.lon": 37.6172,
"source.geo.region_iso_code": "RU-MOW",
Expand Down
1 change: 1 addition & 0 deletions filebeat/module/haproxy/log/test/haproxy.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"source.geo.city_name": "Moscow",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "RU",
"source.geo.country_name": "Russia",
"source.geo.location.lat": 55.7527,
"source.geo.location.lon": 37.6172,
"source.geo.region_iso_code": "RU-MOW",
Expand Down
2 changes: 2 additions & 0 deletions filebeat/module/iis/access/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -127,6 +128,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -67,6 +68,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -104,6 +106,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -141,6 +144,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -178,6 +182,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -215,6 +220,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -252,6 +258,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down Expand Up @@ -289,6 +296,7 @@
"source.address": "149.42.83.135",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 37.751,
"source.geo.location.lon": -97.822,
"source.ip": "149.42.83.135",
Expand Down
3 changes: 3 additions & 0 deletions filebeat/module/iis/error/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -108,6 +109,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -146,6 +148,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down
8 changes: 8 additions & 0 deletions filebeat/module/nginx/access/test/access.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -80,6 +81,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -127,6 +129,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -174,6 +177,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -222,6 +226,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -269,6 +274,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -316,6 +322,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down Expand Up @@ -363,6 +370,7 @@
"source.geo.city_name": "Germersheim",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 49.2231,
"source.geo.location.lon": 8.3639,
"source.geo.region_iso_code": "DE-RP",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -164,6 +165,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -216,6 +218,7 @@
"source.geo.city_name": "Springfield",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 39.7647,
"source.geo.location.lon": -89.7379,
"source.geo.region_iso_code": "US-IL",
Expand Down Expand Up @@ -260,6 +263,7 @@
"source.address": "2a03:0000:10ff:f00f:0000:0000:0:8000",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "PT",
"source.geo.country_name": "Portugal",
"source.geo.location.lat": 39.5,
"source.geo.location.lon": -8.0,
"source.ip": "2a03:0000:10ff:f00f:0000:0000:0:8000",
Expand Down
4 changes: 4 additions & 0 deletions filebeat/module/nginx/access/test/test.log-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -159,6 +160,7 @@
"source.geo.city_name": "Berlin",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "DE",
"source.geo.country_name": "Germany",
"source.geo.location.lat": 52.4473,
"source.geo.location.lon": 13.4531,
"source.geo.region_iso_code": "DE-BE",
Expand Down Expand Up @@ -209,6 +211,7 @@
"source.geo.city_name": "Springfield",
"source.geo.continent_name": "North America",
"source.geo.country_iso_code": "US",
"source.geo.country_name": "United States",
"source.geo.location.lat": 39.7647,
"source.geo.location.lon": -89.7379,
"source.geo.region_iso_code": "US-IL",
Expand Down Expand Up @@ -251,6 +254,7 @@
"source.address": "2a03:0000:10ff:f00f:0000:0000:0:8000",
"source.geo.continent_name": "Europe",
"source.geo.country_iso_code": "PT",
"source.geo.country_name": "Portugal",
"source.geo.location.lat": 39.5,
"source.geo.location.lon": -8.0,
"source.ip": "2a03:0000:10ff:f00f:0000:0000:0:8000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1322,4 +1322,4 @@
"user_agent.os.version": "10.14",
"user_agent.version": "72.0."
}
]
]
Loading

0 comments on commit 13a5463

Please sign in to comment.