I trying send apache logs to Elasticsearch with filebeat. But it doesn't work properly. Logstash listening port 5044 but my logs doesn't send elasticsearch. How can i solve?
You can't have more than one output enabled, in your cause you have the logstash output and the console output enabled, it will not work.
Filebeat supports only one output at time.
Also, per default filebeat will not create a log file, it will log to stdout, so you should look at /var/log/messages or /var/log/syslog, depending on your linux distribution.
You need to provide some logs, without it is impossible to know what the issue may be.
Check the /var/log/messages or /var/log/syslog for filebeat logs, also check /var/log/logstash/logstash-plain.log for logstash logs and /var/log/elasticsearch/YOUR-CLUSTER.log for some elasticsearch logs.
filebeat -c filebeat.yml -e
Must show something, either cannot connect to LS server or registry database already read a file
Default is /usr/share/filebeat/data/registry
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.