I working on EFK, I push message from mysql to elsaticsearch using mysql-replicator, if i push data to elasticsearch add type field in each field
for example:
"mappings": {
"chat_chennaibox": {
"properties": {
"message": {
"type": "string"
}
}
}
}
I need to add "index": "not_analyzed" in message field .
For Example:
"mappings": {
"chat_chennaibox": {
"properties": {
"message": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
Suggest me How to do this? this is td-agent configration File: http://pastebin.com/bBAgAgvz