diff --git a/Dashboard/GeoIP(Template) b/Dashboard/GeoIP(Template) new file mode 100644 index 0000000000000000000000000000000000000000..0998328d63c5614dd07b310955978ed45e63caf1 --- /dev/null +++ b/Dashboard/GeoIP(Template) @@ -0,0 +1,62 @@ +PUT _template/pf-location-template +{ + "index_patterns": [ + "pf-*" + ], + "mappings": { + "properties": { + "destination": { + "properties": { + "geo": { + "dynamic": true, + "properties": { + "ip": { + "type": "ip" + }, + "location": { + "type": "geo_point" + } + } + }, + "as": { + "dynamic": true, + "properties": { + "ip": { + "type": "ip" + }, + "location": { + "type": "geo_point" + } + } + } + } + }, + "source": { + "properties": { + "geo": { + "dynamic": true, + "properties": { + "ip": { + "type": "ip" + }, + "location": { + "type": "geo_point" + } + } + }, + "as": { + "dynamic": true, + "properties": { + "ip": { + "type": "ip" + }, + "location": { + "type": "geo_point" + } + } + } + } + } + } + } +}