- Mastering Kibana 6.x
- Anurag Srivastava
- 350字
- 2021-07-16 18:20:06
Beats
Beats are basically data shippers that are grouped to do single-purpose jobs. For example, Metricbeat is used to collect metrics for memory usage, CPU usage, and disk space, whereas Filebeat is used to send file data such as logs. They can be installed as agents on different servers to send data from different sources to a central Logstash or Elasticsearch cluster. They are written in Go; they work on a cross-platform environment; and they are lightweight in design. Before Beats, it was very difficult to get data from different machines as there was no single-purpose data shipper, and we had to do some tweaking to get the desired data from servers.
For example, if I am running a web application on the Apache web server and want to run it smoothly, then there are two things that need to be monitored—first, all of the errors from the application, and second, the server's performance, such as memory usage, CPU usage, and disk space. So, in order to collect this information, we need to install the following two Beats on our machine:
- Filebeat: This is used to collect log data from Apache web server in an incremental way. Filebeat will run on the server and will periodically check for any change in the Apache log. When there is any change in the Apache log file, it will send the log to Logstash. Logstash will receive the data file and execute the filter to find the errors. After filtering the data, it saves the data into Elasticsearch.
- Metricbeat: This is used to collect metrics for memory usage, CPU usage, disk space, and so on. Metricbeat collects the server metrics, such as memory usage, CPU usage, and disk space, and saves the data into Elasticsearch. Metrics data sends a predefined set of data, and there is no need to modify anything; that is why it sends data directly to Elasticsearch instead of sending it to Logstash first.
To visualize this data, we can use Kibana to create meaningful dashboards through which we can get complete control of our data.
- 機器學(xué)習(xí)實戰(zhàn):基于Sophon平臺的機器學(xué)習(xí)理論與實踐
- Canvas LMS Course Design
- PostgreSQL 11 Server Side Programming Quick Start Guide
- 人工免疫算法改進及其應(yīng)用
- Getting Started with MariaDB
- IoT Penetration Testing Cookbook
- Mastering Elastic Stack
- STM32嵌入式微控制器快速上手
- Photoshop CS3圖像處理融會貫通
- 數(shù)據(jù)庫系統(tǒng)原理及應(yīng)用教程(第5版)
- 步步圖解自動化綜合技能
- 菜鳥起飛系統(tǒng)安裝與重裝
- 單片機C語言應(yīng)用100例
- Working with Linux:Quick Hacks for the Command Line
- Linux Shell編程從初學(xué)到精通