browbeat/elastic/templates/browbeat-rally-.json
Joe Talerico ef02b53e0e Add template for Elastic
This work will help Elastic/Kibana from processing our UUID's into
multiple strings. Before this work, Kibana would display parts of our
UUID since they contained '-'.

If the user installs ELK from Browbeat they will have these templates
installed for them. If the user wants to install these templates into a
existing Elasticsearch they can with the es-template.yml

Change-Id: I04165c50dfac9cbd1f05b4bcd2ac78fbdb4da0a2
2016-10-07 16:01:12 -04:00

73 lines
2.1 KiB
JSON

{
template: "browbeat-rally-*",
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"
}
}
}
}
}