748fb2be61
Elasticsearch5 changed some of the template structure. We also need to update the number of fields avaialble. Change-Id: I7de9fe8e41cb8663467249b1bcad603a214d1624
78 lines
2.3 KiB
JSON
78 lines
2.3 KiB
JSON
{
|
|
"template": "browbeat-rally-*",
|
|
"settings": {
|
|
"index.mapping.total_fields.limit": 5000,
|
|
"number_of_shards": 1,
|
|
"number_of_replicas": 0
|
|
},
|
|
"mappings": {
|
|
"result": {
|
|
"properties": {
|
|
"action": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"browbeat_uuid": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"cloud_name": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"grafana_url": {
|
|
"properties": {
|
|
"openstack-general-system-performance": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "string"
|
|
},
|
|
"scenario": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "date",
|
|
"format": "strict_date_optional_time||epoch_millis"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"properties": {
|
|
"action": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"action_name": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"browbeat_uuid": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"cloud_name": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"error_msg": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"error_type": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "date",
|
|
"format": "strict_date_optional_time||epoch_millis"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|