put _ingest/pipeline/prefix-dbl-pipeline { "description": "zabbix dbl index pipeline", "processors": [ { "date_index_name": { "field": "clock", "date_formats": [ "UNIX" ], "index_name_prefix": "prefix-dbl-", "date_rounding": "d" } } ] } put _ingest/pipeline/prefix-str-pipeline { "description": "zabbix str index pipeline", "processors": [ { "date_index_name": { "field": "clock", "date_formats": [ "UNIX" ], "index_name_prefix": "prefix-str-", "date_rounding": "d" } } ] } put _ingest/pipeline/prefix-text-pipeline { "description": "zabbix text index pipeline", "processors": [ { "date_index_name": { "field": "clock", "date_formats": [ "UNIX" ], "index_name_prefix": "prefix-text-", "date_rounding": "d" } } ] } put _ingest/pipeline/prefix-uint-pipeline { "description": "zabbix uint index pipeline", "processors": [ { "date_index_name": { "field": "clock", "date_formats": [ "UNIX" ], "index_name_prefix": "prefix-uint-", "date_rounding": "d" } } ] } put _ingest/pipeline/prefix-log-pipeline { "description": "zabbix log index pipeline", "processors": [ { "date_index_name": { "field": "clock", "date_formats": [ "UNIX" ], "index_name_prefix": "prefix-log-", "date_rounding": "d" } } ] } put _template/dbl_template { "index_patterns": ["*-dbl-*"], "settings" : { "index" : { "number_of_replicas" : 0, "number_of_shards" : 5 } }, "mappings" : { "values" : { "properties" : { "itemid" : { "type" : "long" }, "clock" : { "format" : "epoch_second", "type" : "date" }, "ns": { "type": "long" }, "ttl": { "type": "long" }, "value" : { "type" : "long" } } } } } put _template/uint_template { "index_patterns": ["*-uint-*"], "settings": { "index": { "number_of_shards": "5", "number_of_replicas": "0" } }, "mappings": { "values": { "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "type": "long" } } } } } put _template/text_template { "index_patterns": ["*-text-*"], "settings": { "index": { "number_of_shards": "5", "number_of_replicas": "0" } }, "mappings": { "values": { "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "fields": { "analyzed": { "index": true, "type": "text", "analyzer": "standard" } }, "index": false, "type": "text" } } } } } put _template/log_template { "index_patterns": ["*-log-*"], "settings": { "index": { "number_of_shards": "5", "number_of_replicas": "0" } }, "mappings": { "values": { "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "fields": { "analyzed": { "index": true, "type": "text", "analyzer": "standard" } }, "index": false, "type": "text" } } } } }