Je suis confronté à des exceptions lorsque j'essaie de démarrer Logstash avec l'interface Web, même si j'ai suivi toutes les étapes au official tutorial. Tout d'abord, j'ai essayé logstash-1.1.10-flatjar.jar
, il n'a même pas commencé aussi. Puis j'ai trouvé this issue alors j'ai téléchargé logstash-1.1.11.dev-flatjar.jar
comme il est conseillé. Maintenant, il ne donne aucune erreur quand je l'initialise. Mais quand je trouver mon navigateur pour myserver:9292
je vois des erreurs sur les deux consoles et web ui comme ceux-ci:L'interface utilisateur Web de Logstash ne démarre pas
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'
J'utilise la configuration de tutoriel officiel; voici mon fichier 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"
}
}
grâce @Nathan pour votre solution .. a travaillé pour moi aussi; mais j'espère qu'ils vont corriger ce bug dans les prochaines versions. – talha06
On dirait qu'ils l'ont fait https://logstash.jira.com/browse/LOGSTASH-1015?focusedCommentId=17142&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17142 – Nathan
Considérant l'utilisation de logstash/élastique pour traiter les logs web de SO, problème avec le tutoriel de logstash, répondez SO :-P –