Unable to update mapping in elastic search Unable to update mapping in elastic search elasticsearch elasticsearch

Unable to update mapping in elastic search


Remove the last comma and make the code like this

curl -XPUT 'http://localhost:9200/bits/nts/_mapping' -d '{    "events" : {        "dynamic" : "strict",        "properties" : {            "NT" : {                    type : "long"              },            "XT" : {                    type : "long"              },            "YT"  : {                    type : "long"             }        }    }

}'