Created
February 27, 2019 03:08
-
-
Save Budman17r/67d9213025fe79fcb07fc9317d8f6065 to your computer and use it in GitHub Desktop.
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
{ | |
"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