Skip to content

How to set “index”: “not_analyzed” While push data from Mysql using mysql-replicator  #20

@Git-Rajkumar

Description

@Git-Rajkumar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions