Topbeat regularly collects system information, such as each process information, load, memory, disk, and so on, and then sends the data to Elasticsearch for indexing, and finally shows through Kibana.
Here are the specific installation and configuration steps:
1, installation Topbeat
tar zxf topbeat-1.3. 1-x86_64. Tar mv topbeat-1.3. 1 topbeat
2, Configuration Topbeat
$ vim topbeat/topbeat.yml #修改如下内容input: # in seconds, defines how often to read server statistics period:Ten# Regular expression to match the processes is monitored # By default, all the processes is monitored procs : [".*"] # Statistics to collect (all enabled by default) Stats: # per system Statistics, by default istrueSystem:true# per process statistics, by default istrueProcess:true # fileSystem information, by default istruefilesystem:true# CPU usage per core, by default isfalseCpu_per_core:trueoutput: # # Elasticsearch as Output elasticsearch:hosts: ["ip:9200"]
3. Configure Elasticsearch Templates
' http://ip:9200/_template/topbeat ' [Email Protected]/data/elk/topbeat/topbeat.template.json
4. Start Topbeat
$ cd topbeat/$ nohup. /topbeat &
Finally, take a look at the data and charts displayed in Kibana:
Topbeat Deployment of Elk