5441963c9a
This is a Logstash component which reads processed logs from Kafka and writes them to Elasticsearch (or some other backend supported by Logstash). Ingesting the logs from this service with Fluentd will be covered under a different commit. Change-Id: I2d722991ab2072c54c4715507b19a4c9279f921b Partially-Implements: blueprint monasca-roles
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"aliases": {},
|
|
"mappings": {
|
|
"log": {
|
|
"_all": {
|
|
"enabled": true,
|
|
"omit_norms": true
|
|
},
|
|
"dynamic_templates": [
|
|
{
|
|
"message_field": {
|
|
"mapping": {
|
|
"fielddata": {
|
|
"format": "disabled"
|
|
},
|
|
"index": "analyzed",
|
|
"omit_norms": true,
|
|
"type": "string"
|
|
},
|
|
"match": "message",
|
|
"match_mapping_type": "string"
|
|
}
|
|
},
|
|
{
|
|
"other_fields": {
|
|
"mapping": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"match": "*",
|
|
"match_mapping_type": "string"
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"@timestamp": {
|
|
"type": "date"
|
|
},
|
|
"@version": {
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
},
|
|
"creation_time": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"order": 0,
|
|
"settings": {
|
|
"index": {
|
|
"refresh_interval": "5s"
|
|
}
|
|
},
|
|
"template": "monasca-*"
|
|
}
|