ES入自動化時間數據問題

#!/usr/bin/env bash

curl -XPUT http://10.0.0.165:9200/_ingest/pipeline/storagetime -d ‘{
“description”: “use to add timestamp”,
“processors”: [
{
“set”: {
“field”: “storageTime”,
“value”: “{{_ingest.timestamp}}”
}
}
]
}’

curl -H “Content-Type: application/json” -XPUT http://10.0.0.128:9200/_ingest/pipeline/storagetime -d ‘{
“description”: “use to add timestamp”,
“processors”: [
{
“set”: {
“field”: “storageTime”,
“value”: “{{_ingest.timestamp}}”
}
}
]
}’
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章