【问题标题】:logstash testing a configuration pipeline failing(Translation missing)logstash 测试配置管道失败(缺少翻译)
【发布时间】:2016-05-08 16:02:23
【问题描述】:

logstash 新手并按照https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html 发布的教程进行操作

尝试在我需要指定输入、过滤器和输出配置的地方设置我的 first-pipeline.conf

当我指定这些配置,并尝试 logsstash -f first-pipeline.conf -configtest 我得到一个 RuntimeError

RuntimeError : 翻译丢失 : en.logstash.runner.configuration.file-not-found>, class=> RuntimeError : backtrace => ["C:/ELK/logstash/vendor/bundle/jruby/1.9/gems/ logstash-core-2.3.2-java/lob/logstash/config/loader/rb:58 在“local_config”和一堆其他堆栈跟踪 下面是堆栈跟踪的片段

我的 logstash 安装目录中似乎缺少一些文件..

顺便说一句,这是我的 first-pipeline.conf 文件的样子

另外,我注释掉了我的 first-pipeline.conf 的过滤器部分,因为我不确定 grok 是否导致了这个问题,并且仍然可以重现相同的错误

【问题讨论】:

    标签: apache logstash elastic-stack logstash-configuration


    【解决方案1】:

    错误“io/console not supported; tty will not be mapped”似乎是一个 jruby 错误:

    https://github.com/jruby/jruby/issues/3550

    而且它似乎在版本 1.7.24 上已修复。在 Logstash 2.3.2 中,jruby 版本是 1.7.23,该错误打开。所以你可以尝试下载jruby 1.7.25 替换为vendor/jruby下的那个。

    对于另一个错误,您正在从 bin 文件夹运行 Logstast。您的配置(first-pipeline.conf)文件实际上是否在该文件夹中?如果不指定它的位置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-28
      • 2020-11-21
      • 2021-10-05
      • 1970-01-01
      • 1970-01-01
      • 2017-01-28
      • 2015-02-04
      相关资源
      最近更新 更多