Last active
October 13, 2016 20:37
-
-
Save nickwallen/8158e736742d331b67c34e8f389ba775 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
{ | |
"template": "sensor1_index*", | |
"mappings": { | |
"sensor1_doc": { | |
"_timestamp": { | |
"enabled": true | |
}, | |
"properties": { | |
"timestamp": { | |
"type": "date", | |
"format": "epoch_millis" | |
}, | |
"ip_src_addr": { | |
"type": "ip" | |
}, | |
"ip_src_port": { | |
"type": "integer" | |
}, | |
"ip_dst_addr": { | |
"type": "ip" | |
}, | |
"ip_dst_port": { | |
"type": "integer" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example index template for a new sensor called 'sensor1'.
sensor1_index*
.sensor1_doc
.