OpenSearch/marvel_index_template.json

270 lines
6.6 KiB
JSON

{
"template": ".marvel*",
"settings": {
"marvel.index_format": 7,
"marvel.version": "${project.version}",
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.codec": "best_compression",
"index.mapper.dynamic": false
},
"mappings": {
"_default_": {
"_all": {
"enabled": false
},
"date_detection": false,
"properties": {
"cluster_uuid": {
"type": "string",
"index": "not_analyzed"
},
"timestamp": {
"type": "date",
"format": "date_time"
}
}
},
"index_stats": {
"properties": {
"index_stats": {
"properties": {
"index": {
"type": "string",
"index": "not_analyzed"
},
"primaries": {
"properties": {
"docs": {
"properties": {
"count": {
"type": "long"
}
}
}
}
},
"total": {
"properties": {
"docs": {
"properties": {
"count": {
"type": "long"
}
}
},
"store": {
"properties": {
"size_in_bytes": {
"type": "long"
},
"throttle_time_in_millis": {
"type": "long"
}
}
},
"indexing": {
"properties": {
"index_total": {
"type": "long"
},
"index_time_in_millis": {
"type": "long"
},
"throttle_time_in_millis": {
"type": "long"
}
}
},
"merges": {
"properties": {
"total_size_in_bytes": {
"type": "long"
}
}
},
"search": {
"properties": {
"query_total": {
"type": "long"
},
"query_time_in_millis": {
"type": "long"
}
}
},
"segments": {
"properties": {
"memory_in_bytes": {
"type": "long"
}
}
},
"refresh": {
"properties": {
"total_time_in_millis": {
"type": "long"
}
}
}
}
}
}
}
}
},
"cluster_stats": {
"properties": {
"cluster_stats": {
"properties": {
"nodes": {
"type": "object"
},
"indices": {
"type": "object"
}
}
}
}
},
"cluster_state": {
"properties": {
"cluster_state": {
"properties": {
"version": {
"type": "long"
},
"master_node": {
"type": "string",
"index": "not_analyzed"
},
"status": {
"type": "string",
"index": "not_analyzed"
},
"nodes": {
"enabled": false
}
}
}
}
},
"cluster_info": {
"enabled": false
},
"phone_home": {
"enabled": false
},
"node_stats": {
"properties": {
"node_stats": {
"properties": {
"node_id": {
"type": "string",
"index": "not_analyzed"
},
"node_master": {
"type": "boolean"
},
"mlockall": {
"type": "boolean"
},
"disk_threshold_enabled": {
"type": "boolean"
},
"disk_threshold_watermark_high": {
"type": "short"
},
"indices": {
"type": "object"
},
"fs": {
"type": "object"
},
"process": {
"type": "object"
},
"jvm": {
"type": "object"
},
"thread_pool": {
"type": "object"
}
}
}
}
},
"indices_stats": {
"properties": {
"indices_stats": {
"type": "object"
}
}
},
"node": {
"properties": {
"state_uuid": {
"type": "string",
"index": "not_analyzed"
},
"node": {
"properties": {
"id": { "type": "string", "index": "not_analyzed" },
"name": { "type": "string", "index": "not_analyzed" },
"transport_address": { "type": "string", "index": "not_analyzed" },
"master": { "type": "boolean" },
"attributes": { "type": "object" }
}
}
}
},
"nodes": {
"properties": {
"state_uuid": {
"type": "string",
"index": "not_analyzed"
},
"node": {
"properties": {
"id": { "type": "string", "index": "not_analyzed" },
"name": { "type": "string", "index": "not_analyzed" },
"transport_address": { "type": "string", "index": "not_analyzed" },
"master": { "type": "boolean" },
"attributes": { "type": "object" }
}
}
}
},
"shards": {
"properties": {
"state_uuid": {
"type": "string",
"index": "not_analyzed"
},
"shard": {
"properties": {
"state": { "type": "string", "index": "not_analyzed" },
"primary": { "type": "boolean" },
"index": { "type": "string", "index": "not_analyzed" },
"relocating_node": { "type": "string", "index": "not_analyzed" },
"shard": { "type": "long" },
"node": { "type": "string", "index": "not_analyzed" }
}
}
}
},
"index_recovery": {
"properties": {
"index_recovery": {
"properties": {
"shards": {
"type": "object"
}
}
}
}
}
}
}