Created
January 21, 2016 08:05
-
-
Save kentarosasaki/3e117889b8d93bc2546d to your computer and use it in GitHub Desktop.
Elastic社のTopbeatに入門してみた ref: http://qiita.com/kentarosasaki/items/2dbfaf4bceb70eab50f9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -L -O https://download.elastic.co/beats/topbeat/topbeat-1.0.1-x86_64.rpm | |
$ sudo rpm -vi topbeat-1.0.1-x86_64.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -L -O https://download.elastic.co/beats/topbeat/topbeat_1.0.1_amd64.deb | |
$ sudo dpkg -i topbeat_1.0.1_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vi /etc/topbeat/topbeat.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
period: 10 | |
procs: [".*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
period: 10 | |
procs: ["^$"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output: | |
elasticsearch: | |
hosts: ["192.168.0.3:9200","192.168.0.4:9200","192.168.0.5:9200"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo /etc/init.d/topbeat start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment