All Downloads are FREE. Search and download functionalities are using the official Maven repository.

freemarker.es5x.mapping.index-template-health.ftl Maven / Gradle / Ivy

There is a newer version: 5.6.0
Show newest version
<#ftl output_format="JSON">
{
    "template": "${indexName}-*",
    "settings": {
        "index.number_of_shards":${numberOfShards},
        "index.number_of_replicas":${numberOfReplicas},
        "index.refresh_interval": "${refreshInterval}"
    },
    "mappings": {
        "health": {
            "properties": {
                "api": {
                    "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": false
                }
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy