Created
June 29, 2017 14:44
-
-
Save daniellavoie/5c438a907e727bf356d61bb7736238a4 to your computer and use it in GitHub Desktop.
Template Tweets
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
POST _template/tweets | |
{ | |
"template" : "tweets-*", | |
"mappings" : { | |
"tweets" : { | |
"properties" : { | |
"@timestamp": { | |
"type": "date" | |
} | |
} | |
} | |
}, | |
"aliases" : { | |
"tweets" : {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment