Untitled
unknown
plain_text
10 months ago
1.1 kB
6
Indexable
curl --location --request PUT 'localhost:9200/audit_history_dev' \
--header 'Content-Type: application/json' \
--data '{
"settings": {
"number_of_shards": 1
},
"mappings": {
"properties": {
"recording_id": {
"type": "keyword"
},
"unique_key": {
"type": "keyword"
},
"audited_by": {
"type": "keyword"
},
"audit_remark": {
"type": "text"
},
"audit_timestamp": {
"type": "date"
},
"is_ztp": {
"type": "keyword"
},
"is_rude": {
"type": "keyword"
},
"is_process_deviation": {
"type": "keyword"
},
"is_fatal": {
"type": "keyword"
},
"created_date": {
"type": "date",
"index": false
},
"updated_date": {
"type": "date",
"index": false
}
}
}
}'
Editor is loading...
Leave a Comment