Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit bcfa48c0 authored by Andrew's avatar Andrew Committed by GitHub
Browse files

Create GeoIP(Template)

parent 10703d27
Branches
No related tags found
No related merge requests found
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"
}
}
}
}
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment