Learn how to install Filebeat, a tool for lightweight log analysis, to listen to your log files and forward them to a sink such as Logstash or Elasticsearch.
Join the DZone community and get the full member experience.Join For Free
Built by operators for operators, the Sensu monitoring event pipeline empowers businesses to automate their monitoring workflows and gain deep visibility into their multi-cloud environments. Get started for free today.
Filebeat is a lightweight log shipper. It is installed as an agent and listens to a predefined set of log files and locations and forwards them to your choice of sink (Logstash, Elasticsearch, database, etc.)
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-amd64.deb sudo dpkg -i filebeat-6.3.2-amd64.deb
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-x86_64.rpm sudo rpm -vi filebeat-6.3.2-x86_64.rpm
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-darwin-x86_64.tar.gz tar xzvf filebeat-6.3.2-darwin-x86_64.tar.gz
docker pull docker.elastic.co/beats/filebeat:6.3.2
Download Filebeat from the official website and do the following configurations:
Published at DZone with permission of Gaurav Rai Mazra , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.