設定ファイルを作成
$ cd /opt/logstash/
$ sudo vim test.conf
適宜filterを追加する
test.conf
input { stdin { } }
output {
stdout{codec => rubydebug}
}
実行
$ bin/logstash -f test.conf
Pipeline main started
が出たら標準入力の受付になるのでデータぶち込んでみる
More than 5 years have passed since last update.
設定ファイルを作成
$ cd /opt/logstash/
$ sudo vim test.conf
適宜filterを追加する
input { stdin { } }
output {
stdout{codec => rubydebug}
}
実行
$ bin/logstash -f test.conf
Pipeline main started
が出たら標準入力の受付になるのでデータぶち込んでみる
Register as a new user and use Qiita more conveniently