i have to provide the logstash.config file path here
Arguments to pass to logstash
LS_OPTS="--path.settings ${LS_SETTINGS_DIR}"
because i have already created the conf.d folder and the .conf file is available in the folder
it works fine when i run the command /bin/logstash -f /etc/logstash/conf.d/logstash.conf
but logstash does not listen on port 5044 . so i looked at this error when i ran the command /usr/share/logstash/bin/logstash --path.settings /etc/logstash/logstash.yml -t
check rights for this config file with command ls -lh . -rw-rw---- for user logstash from group logstash.
(chown and chmod 660)
In some cases logstash cant read this file and goes down with errors
metricbeat is gathering system info about CPU, RAM, HDD, LAN and etc usage, and processes on PC. It doesnt collect or send any logs.
WInlogbeat collects and sends windows system logs (application, security, system, setup or others)
So, if you want to collect Windows syslogs - better use Winlogbeat (because it has filters and thin configuration).
If you need some other logs from different apps - use Filebeat - it was made for it.
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.