Skip to content

Instantly share code, notes, and snippets.

@rokcarl
Created Jun 15, 2021
Embed
What would you like to do?
PUT stat_customers
{
"mappings" : {
"properties" : {
"credits" : {"type" : "double"},
"requests": {"type" : "double"},
"error_codes.4xx": {"type" : "double"},
"error_codes.5xx": {"type" : "double"},
"day": {"type" : "date"},
"customer": {"type" : "keyword"}
}
},
"settings" : {
"index" : {
"number_of_shards" : "1",
"auto_expand_replicas" : "0-all"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment