{
“order”: 0,
“template”: “tracking_event*”,
“settings”: {
“index”: {
“number_of_shards”: “6”,
“number_of_replicas”: “1”,
“mapper”: {
“dynamic”: “true”
}
}
},
“mappings”: {
“default“: {
“_ttl”: {
“default”: “30d”,
“enabled”: true
},
“_source”: {
“enabled”: true
},
“dynamic_templates”: [
{
“userStatus”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “userStatus”
}
},
{
“pbStatus”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “pbStatus”
}
},
{
“tierId”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “tierId”
}
},
{
“eventId”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “eventId”
}
},
{
“gpInstall”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “gpInstall”
}
},
{
“createTime”: {
“mapping”: {
“type”: “date”,
“index”: “not_analyzed”,
“format”: “yyyy-MM-dd HH:mm:ss Z”
},
“match”: “createTime”
}
},{
“created”: {
“mapping”: {
“type”: “date”,
“index”: “not_analyzed”,
“format”: “yyyy-MM-dd HH:mm:ss Z”
},
“match”: “created”
}
},
{
“installDate”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “installDate”
}
},
{
“campId”: {
“mapping”: {
“type”: “integer”,
“doc_values”: true
},
“match”: “campId”
}
},
{
"num": {
"mapping": {
"type": "long",
"doc_values": true
},
"match_mapping_type": "long"
}
},
{
"str": {
"mapping": {
"ignore_above": 10922,
"index": "not_analyzed",
"type": "string",
"doc_values": true
},
"match_mapping_type": "string"
}
},
{
"date": {
"mapping": {
"type": "date",
"doc_values": true
},
"match": "stamp*"
}
}
]
}
}
}