ERR failed to initialize elasticsearch plugin as output

hello
can someone help me understand the problem with this

Feb 14 12:25:57 localhost.localdomain systemd[1]: Started filebeat.
Feb 14 12:25:57 localhost.localdomain systemd[1]: Starting filebeat...
[ctf@localhost ~]$ sudo filebeat -c /etc/filebeat/filebeat.yml -e -d "*"-path.config /etc/filebeat
[sudo] password for ctf:
2017/02/14 18:11:45.762963 beat.go:267: INFO Home path: [/home/ctf] Config path: [/home/ctf] Data path: [/home/ctf/data] Logs path: [/home/ctf/logs]
2017/02/14 18:11:45.763304 beat.go:177: INFO Setup Beat: filebeat; Version: 5.1.2
2017/02/14 18:11:45.763447 logp.go:219: INFO Metrics logging every 30s
2017/02/14 18:11:45.765014 output.go:167: INFO Loading template enabled. Reading template file: /etc/filebeat/filebeat.template.json
2017/02/14 18:11:45.767400 output.go:178: INFO Loading template enabled for Elasticsearch 2.x. Reading template file: /home/ctf/filebeat.template-es2x.json
2017/02/14 18:11:45.767696 outputs.go:100: ERR failed to initialize elasticsearch plugin as output: Error loading template /home/ctf/filebeat.template-es2x.json: open /home/ctf/filebeat.template-es2x.json: no such file or directory
2017/02/14 18:11:45.767951 beat.go:288: CRIT Exiting: error initializing publisher: Error loading template /home/ctf/filebeat.template-es2x.json: open /home/ctf/filebeat.template-es2x.json: no such file or directory
Exiting: error initializing publisher: Error loading template /home/ctf/filebeat.template-es2x.json: open /home/ctf/filebeat.template-es2x.json: no such file or directory

Does that file exist?

i am looking for it but it does not exit, i am sorry i am near with elasticsearch, can you help me figure out how to create that template or download it.
thank you

How did you install filebeat?

hello, u figure it out, and it is working now but i am having a problem with Kibana. i am getting an error, failed to connect to console backend
please check the kibana server is up and running message

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.