Skip to content

Instantly share code, notes, and snippets.

@kentarosasaki
Created January 21, 2016 08:05
Show Gist options
  • Save kentarosasaki/3e117889b8d93bc2546d to your computer and use it in GitHub Desktop.
Save kentarosasaki/3e117889b8d93bc2546d to your computer and use it in GitHub Desktop.
Elastic社のTopbeatに入門してみた ref: http://qiita.com/kentarosasaki/items/2dbfaf4bceb70eab50f9
$ 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
$ curl -L -O https://download.elastic.co/beats/topbeat/topbeat_1.0.1_amd64.deb
$ sudo dpkg -i topbeat_1.0.1_amd64.deb
$ sudo vi /etc/topbeat/topbeat.yml
input:
period: 10
procs: [".*"]
input:
period: 10
procs: ["^$"]
output:
elasticsearch:
hosts: ["192.168.0.3:9200","192.168.0.4:9200","192.168.0.5:9200"]
$ sudo /etc/init.d/topbeat start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment