I'm trying to enable filebeat in logstash.below is my filebeat.yml
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
username: "elastic"
password: "elastic"
setup.kibana:
host: "localhost:5601"
i have excuted sudo ./filebeat modules enable logstash
command
then executed sudo ./filebeat setup
command
then tried sudo service filebeat start
. but got an error
Failed to start filebeat.service: Unit filebeat.service not found.
how to solve this?