公式チュートリアルのすべての手順に従ったにもかかわらず、Web フロントエンドで Logstash を起動しようとすると、例外が発生します。まず、試してみlogstash-1.1.10-flatjar.jar
ましたが、起動しませんでした。その後、この問題を見つけたのでlogstash-1.1.11.dev-flatjar.jar
、アドバイスに従ってダウンロードしました。これで、初期化時にエラーが発生しなくなりました。しかし、ブラウザーを見つけるmyserver:9292
と、コンソールと Web UI の両方に次のようなエラーが表示されます。
Errno::ENOENT: No such file or directory - file:/home/zimtest/Downloads/logstash-1.1.11.dev-flatjar.jar!/logstash/web/views/search/results.haml
org/jruby/RubyFile.java:333:in `initialize'
org/jruby/RubyIO.java:1179:in `open'
jar:file:/home/zimtest/Downloads/logstash-1.1.11.dev-flatjar.jar!/tilt/template.rb:91:in `read_template_file'
公式チュートリアルの構成を使用しています。ここに私のindexer.conf
ファイルがあります:
input {
redis {
host => "127.0.0.1"
type => "redis-input"
# these settings should match the output of the agent
data_type => "list"
key => "logstash"
# We use json_event here since the sender is a logstash agent
format => "json_event"
}
}
output {
stdout { debug => true debug_format => "json"}
elasticsearch {
host => "127.0.0.1"
}
}