Error: Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch

Good time of the day! I have got a problem with a launch of Filebeat. It doen't want to start. Here is a text of error:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
filebeat.service - Filebeat sends log files to Logstash or directly to Elasticsearch.
Loaded: loaded (/lib/systemd/system/filebeat.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-12-22 19:12:54 MSK; 11min ago
Docs: https://www.elastic.co/products/beats/filebeat
Process: 2623 ExecStart=/usr/share/filebeat/bin/filebeat --environment systemd $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS (code=exited, status=1/FAILURE)
Main PID: 2623 (code=exited, status=1/FAILURE)

дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: filebeat.service: Main process exited, code=exited, status=1/FAILURE
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: filebeat.service: Failed with result 'exit-code'.
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: filebeat.service: Scheduled restart job, restart counter is at 5.
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: Stopped Filebeat sends log files to Logstash or directly to Elasticsearch..
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: filebeat.service: Start request repeated too quickly.
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: filebeat.service: Failed with result 'exit-code'.
дек 22 19:12:54 vmzeek-VirtualBox systemd[1]: Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch..
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
I have written in the output field of filebeat.yml this information:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
output.logstash:

The Logstash hosts

    hosts: ["192.168.56.103:5044"]
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

This VM is pinging successfully the other VM. And I used Ubuntu on both VM's.

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