Set up - load the Kibana templates

i have the fllowing error

root@stathis:/home/stathis# /usr/share/filebeat/bin/filebeat setup
Exiting: error loading config file: stat filebeat.yml: no such file or directory

filebeat test config:
Config OK

also
filebeat -e:

2021-06-12T15:30:02.621+0300 INFO instance/beat.go:665 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]
2021-06-12T15:30:02.622+0300 INFO instance/beat.go:673 Beat ID: f2e93401-6c8f-41a9-98af-067a8528adc7
2021-06-12T15:30:02.633+0300 INFO instance/beat.go:410 filebeat stopped.
2021-06-12T15:30:02.633+0300 ERROR instance/beat.go:989 Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).
Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).

any idea?

If you install from rpm run
filebeat setup -e
if you install from archive:
cd /usr/share/filebeat/bin/ && ./filebeat setup -e

thanx but same result

Exactly How did you install filebeat?

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