Field_data_type default True


Can you tell me how to set default value of field_datatype is true.

Whenever i delete indices in this location Management --> Index Management --> indices in kibana. Field_datatype is changed to false automatically... So, i run this command then only it changed to field_data is true.

curl -X PUT localhost:9200/<beat_name>/_mapping -H "Content-Type: application/json" -d '{ "properties": { "<field_type>": { "type": "text", "fielddata":true } } }'

Please help me to how to solve this.

Any help on this would be really helpful

You can use index template.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.