Beats
-
Beats are lightweight data shippers that are installed on edge servers (servers on which your applications run) and can ship the logs/data to logstash/elastic search
-
Popular beats
- Filebeat
- Metricbeat
- Packetbeat
- Heartbeat
- Winlogbeat
- Auditbeat
- JournalBeat
-
Community beats Refer Here
- springbeats
- rsbeat
- dockerbeat
- nginxbeat
- mysqlbeat
- mongobeat
- apachebeat
- amazon-beat
-
Lets install file beat on ubuntu Refer Here
-
Lets create a conf file to read the logs from tcp port and send them to stdout
- Refer Here for logstash conf for apache server
- Now copy this file into /etc/logstash/conf.d and start the logstash as service

-
We would have a configuration to send
- apache logs to logstash and from there to elastic search
- mysql logs to loststash and from there to elastic search
- using metric beats to send metrics to elastic search
