Failed to start filebeat.service: Unit filebeat.service not found

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 setupcommand

then tried sudo service filebeat start. but got an error

Failed to start filebeat.service: Unit filebeat.service not found.

how to solve this?

HI @Tje,

Could you please help me to understand what you are trying to do or achieve?

Could you please let me know how you install filebeat on your system?

Regards,
Harsh Bajaj