
profiling.component-template.profiling-metrics.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of x-pack-template-resources Show documentation
Show all versions of x-pack-template-resources Show documentation
Elasticsearch subproject :x-pack:plugin:core:template-resources
{
"template": {
"settings": {
"index": {
"auto_expand_replicas": "0-1",
"refresh_interval": "10s",
"sort": {
"field": [
"profiling.project.id",
"@timestamp",
"host.id"
]
},
"mapping": {
"source": {
"mode": "synthetic"
}
}
},
"codec": "best_compression"
},
"mappings": {
"_meta": {
"index-template-version": ${xpack.profiling.template.version},
"index-version": ${xpack.profiling.index.metrics.version},
"managed": true
},
/*
We intentionally allow dynamic mappings for metrics. Which metrics are added is guarded by
the collector and we want to allow adding new metrics over time. As this is a datastream,
which will age and eventually be deleted, schema evolution is not a major concern here.
*/
"dynamic": true,
"properties": {
"ecs.version": {
"type": "keyword",
"index": true
},
"profiling.project.id": {
"type": "keyword"
},
"host.id": {
"type": "keyword"
},
"@timestamp": {
"type": "date",
"format": "epoch_second"
}
}
}
},
"version": ${xpack.profiling.template.version}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy