I would like to ingest sendmail logs (/var/log/maillog) from different servers (about 5) into Elasticsearch at the same time.
I did Google search and found different and confused tutorials about this.
Anybody can help to define what product is more recomendated to do this? (filebeat or logstash)
I only need to read and ingest the information from log called /var/log/maillog every 1 minute or realtime if it's possible
However, for simple file reads from servers and ingesting them into elastic. I would recommend (and to my knowledge is generally recommended) to use filtebeat. This because filebeat is generally less resource intensive on your system.
Ok. Assuming I can use FileBeat to read and parse the log too before the ingest to the ELK server? In this situation I only need to install FileBeat and perform the configuration on all different servers. This is right?
Yes, you can create one config and add this to all your servers (assuming they are the same).
The parsing of the events will take place in Elasticsearch using an ingest pipeline which you will have to create
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.