LoginSignup
1
1

More than 5 years have passed since last update.

memo:Beatsを試してみる

Posted at

やりたいこと

  • Beatsをサクッと試してみたい
  • Logstashはいらない
  • データの永続化も気にしない
  • Topbeatが動けばいい

環境

  • Windows7
  • Vagrant+Docker

VMの準備

  • Kibanaのポート(5601)を56011マッピングしておく
  • Dockerがインストールされていなければ入れておく

メモ

Topbeatのインストール~Kibanaの起動

curl -L -O https://download.elastic.co/beats/topbeat/topbeat-1.2.1-x86_64.rpm
sudo rpm -vi topbeat-1.2.1-x86_64.rpm
sudo service docker start
sudo docker run --name elasticsearch -it -d -p 9200:9200 elasticsearch
sudo /etc/init.d/topbeat start
sudo docker run --name kibana --link elasticsearch:elasticsearch -p 5601:5601 -d kibana

Beats用のダッシュボードを適用する

curl -L -O http://download.elastic.co/beats/dashboards/beats-dashboards-1.2.1.zip
unzip beats-dashboards-1.2.1.zip
cd beats-dashboards-1.2.1/
./load.sh

確認

  • ブラウザでhttp://localhost:56011にアクセス
  • indextopbeat-*を指定する

おわり

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1