I am trying to visualize a wait_time field. In order to do so, I turned it into a long:
curl -H 'Content-Type:application/json' -s -X POST 'localhost:9200/logstash-*/_mapping/doc?pretty' -d '{
"properties": {
"wait_time" : {
"type": "long"
}
}
}'
This was working nicely, but indices are created daily, and when the new index was created, the wait_time field defaulted to "text". Is there any way to make sure that the "long" type persists?
Thanks,