browbeat/elastic/templates/browbeat-perfkit-.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

72 lines
2.3 KiB
JSON

{
template: "browbeat-perfkit-*",
mappings: {
result: {
properties: {
browbeat_rerun: {
type: "long"
},
browbeat_scenario: {
properties: {
benchmarks: {
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"
}
}
},
perfkit_setup: {
properties: {
cloud: {
index: "not_analyzed",
type: "string"
},
image: {
index: "not_analyzed",
type: "string"
},
machine_instance: {
index: "not_analyzed",
type: "string"
},
machine_type: {
index: "not_analyzed",
type: "string"
},
perfkitbenchmarker_version: {
index: "not_analyzed",
type: "string"
},
vm_count: {
type: "string"
},
zone: {
index: "not_analyzed",
type: "string"
}
}
},
timestamp: {
type: "date",
format: "strict_date_optional_time||epoch_millis"
}
}
}
}
}