I am learning elasticsearch. I have specified the mapping in \'mapping.json\'. Its contents are
{ \"book\" : { \"_index\" : { \"enabled
command
curl -XPUT localhost:9200/_template/logstash -d @/Users/template.json
response
{"acknowledged":true}