Error in template

i followed the installation steps on digital ocean .i ran the following commands

 curl -O https://gist.githubusercontent.com/thisismitch/3429023e8438cc25b86c/raw/d8c479e2a1adcea8b1fe86570e42abab0f10f364/filebeat-index-template.json
 curl -XPUT 'http://localhost:9200/_template/filebeat?pretty' -d@filebeat-index-template.json

i got output

 {
  "acknowledged" : true
 }

And the json template was generated

i have specified the mappings in different file
i concatenated all four files under conf.d to upload on the internet
When logstash runs, it combines all the files in your config directory into one file.

02-beats-input.conf
10-syslog-filter.conf
30-elasticsearch-output.conf
filebeat-index-template.json