Skip to content

Instantly share code, notes, and snippets.

@Budman17r
Created February 27, 2019 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Budman17r/67d9213025fe79fcb07fc9317d8f6065 to your computer and use it in GitHub Desktop.
Save Budman17r/67d9213025fe79fcb07fc9317d8f6065 to your computer and use it in GitHub Desktop.
{
"unifisyslog" : {
"order" : 0,
"index_patterns" : [
"unifisyslog-*"
],
"settings" : {
"index" : {
"number_of_shards" : "1",
"number_of_replicas" : "1"
}
},
"mappings" : {
"doc" : {
"properties" : {
"ubiquiti.switch" : {
"type" : "object"
},
"source.geo" : {
"dynamic" : true,
"properties" : {
"ip" : {
"type" : "ip"
},
"location" : {
"type" : "geo_point"
},
"latitude" : {
"type" : "half_float"
},
"longitude" : {
"type" : "half_float"
}
}
},
"destination.geo" : {
"dynamic" : true,
"properties" : {
"ip" : {
"type" : "ip"
},
"location" : {
"type" : "geo_point"
},
"latitude" : {
"type" : "half_float"
},
"longitude" : {
"type" : "half_float"
}
}
},
"source.ip" : {
"type" : "ip"
},
"destination.ip" : {
"type" : "ip"
}
}
}
},
"aliases" : { }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment