LoginSignup
0
0

More than 5 years have passed since last update.

Logstashの挙動をさっくり確かめる方法

Posted at

設定ファイルを作成

$ cd /opt/logstash/
$ sudo vim test.conf

適宜filterを追加する

test.conf
input { stdin { } }

output {
  stdout{codec => rubydebug}
}

実行

$ bin/logstash -f test.conf

Pipeline main startedが出たら標準入力の受付になるのでデータぶち込んでみる

0
0
0

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
0
0