freemarker.es7x.mapping.index-template-health.ftl Maven / Gradle / Ivy
The newest version!
<#ftl output_format="JSON">
{
"index_patterns": ["${indexName}*"],
"settings": {
<#if indexLifecyclePolicyHealth??>"${indexLifecyclePolicyPropertyName}": "${indexLifecyclePolicyHealth}",#if>
<#if indexLifecyclePolicyHealth??>"${indexLifecycleRolloverAliasPropertyName}": "${indexName}",#if>
"index.number_of_shards":${numberOfShards},
"index.number_of_replicas":${numberOfReplicas},
"index.refresh_interval": "${refreshInterval}"
<#if extendedSettingsTemplate??>,<#include "/${extendedSettingsTemplate}">#if>
},
"mappings": {
"properties": {
"api": {
"type": "keyword"
},
"api-name": {
"type": "keyword"
},
"available": {
"type": "boolean",
"index": false
},
"endpoint": {
"type": "keyword"
},
"gateway": {
"type": "keyword"
},
"response-time": {
"type": "integer"
},
"state": {
"type": "integer",
"index": false
},
"transition": {
"type": "boolean"
},
"steps": {
"type": "object",
"enabled": false
},
"success": {
"type": "boolean",
"index": true
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy