curl -H "Content-Type:application/json" -XPUT http://10.205.153.82:9200/uint -d ' { "template": "uint*", "index_patterns": ["uint*"], "settings" : { "index" : { "number_of_replicas" : 1, "number_of_shards" : 5 } }, "mappings" : { "values" : { "properties" : { "itemid" : { "type" : "long" }, "clock" : { "format" : "epoch_second", "type" : "date" }, "value" : { "type" : "long" } } } } } ' curl -X PUT \ http://10.205.153.82:9200/_ingest/pipeline/uint-pipeline \ -H 'content-type:application/json' \ -d '{ "description": "daily text index naming", "processors": [ { "date_index_name": { "field": "clock", "date_formats": ["UNIX"], "index_name_prefix": "uint-", "date_rounding": "d" } } ] }' curl -H "Content-Type:application/json" -XPUT http://10.205.153.82:9200/dbl -d ' { "template": "dbl*", "index_patterns": ["dbl*"], "settings" : { "index" : { "number_of_replicas" : 1, "number_of_shards" : 5 } }, "mappings" : { "values" : { "properties" : { "itemid" : { "type" : "long" }, "clock" : { "format" : "epoch_second", "type" : "date" }, "value" : { "type" : "double" } } } } } ' curl -X PUT \ http://10.205.153.82:9200/_ingest/pipeline/dbl-pipeline \ -H 'content-type:application/json' \ -d '{ "description": "daily dbl index naming", "processors": [ { "date_index_name": { "field": "clock", "date_formats": ["UNIX"], "index_name_prefix": "dbl-", "date_rounding": "d" } } ] }' curl -H "Content-Type:application/json" -XPUT http://10.205.153.82:9200/log -d ' { "settings" : { "index" : { "number_of_replicas" : 1, "number_of_shards" : 5 } }, "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" } } } } } ' curl -X PUT \ http://10.205.153.82:9200/_ingest/pipeline/log-pipeline \ -H 'content-type:application/json' \ -d '{ "description": "daily log index naming", "processors": [ { "date_index_name": { "field": "clock", "date_formats": ["UNIX"], "index_name_prefix": "log-", "date_rounding": "d" } } ] }' url -H "Content-Type:application/json" -XPUT http://10.205.153.82:9200/text -d ' { "template": "text*", "index_patterns": ["text*"], "settings" : { "index" : { "number_of_replicas" : 1, "number_of_shards" : 5 } }, "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" } } } } } ' curl -X PUT \ http://10.205.153.82:9200/_ingest/pipeline/text-pipeline \ -H 'content-type:application/json' \ -d '{ "description": "daily text index naming", "processors": [ { "date_index_name": { "field": "clock", "date_formats": ["UNIX"], "index_name_prefix": "text-", "date_rounding": "d" } } ] }' curl -H "Content-Type:application/json" -XPUT http://10.205.153.82:9200/str -d ' { "template": "str*", "index_patterns": ["str*"], "settings" : { "index" : { "number_of_replicas" : 1, "number_of_shards" : 5 } }, "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" } } } } } ' curl -X PUT \ http://10.205.153.82:9200/_ingest/pipeline/str-pipeline \ -H 'content-type:application/json' \ -d '{ "description": "daily text index naming", "processors": [ { "date_index_name": { "field": "clock", "date_formats": ["UNIX"], "index_name_prefix": "str-", "date_rounding": "d" } } ] }'