Mi trovo ad affrontare eccezioni quando provo ad avviare Logstash con Web front-end nonostante abbia seguito tutti i passaggi a official tutorial. Prima di tutto ho provato logstash-1.1.10-flatjar.jar
, anche non è partito. Poi ho trovato this issue quindi ho scaricato logstash-1.1.11.dev-flatjar.jar
come consigliato. Ora non dà alcun errore quando lo inizializzo. Ma quando ho a trovare il mio browser per myserver:9292
vedo errori su entrambi i ui console e web come questi:L'interfaccia utente Web Logstash non viene avviata
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'
che sto utilizzando la configurazione di esercitazione ufficiale; ecco la mia indexer.conf
di file:
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"
}
}
grazie @ Nathan per la soluzione .. lavorato anche per me; ma spero che risolvono questo bug nelle prossime versioni. – talha06
Sembra che abbiano fatto https://logstash.jira.com/browse/LOGSTASH-1015?focusedCommentId=17142&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17142 – Nathan
Considerando l'utilizzo di logstash/elastico per elaborare i registri Web di SO, problema con il tutorial di logstash, rispondere su SO :-P –