input data format
{
date:"1550391413",
value:"1"
}
create pipline Automatically creates the day index,
Can be guided under if written.
Online reference,How to convert timestamp?,thank you
curl -X PUT
http://your-elasticsearch.here:9200/_ingest/pipeline/uint-pipeline
-H 'content-type:application/json'
-d '{
"description": "daily uint index naming",
"processors": [
{
"date_index_name": {
"field": "clock",
"date_formats": ["UNIX"],
"index_name_prefix": "uint-",
"date_rounding": "d"
}
}
]
}'