Logstash安装插件错误

时间:2018-08-18 04:48:18

标签: logstash logstash-configuration

美好的一天:

我正在尝试在Logstash上安装插件logstash-output-json_batch,但出现此错误:

C:\Program Files\logstash\logstash-6.3.1\bin>logstash-plugin.bat install logstash-output-json_batch
Validating logstash-output-json_batch
Installing logstash-output-json_batch
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin-api":
  In snapshot (Gemfile.lock):
    logstash-core-plugin-api (= 2.1.16)

  In Gemfile:
    logstash-devutils (= 1.3.5) java depends on
      logstash-core-plugin-api (<= 2.99, >= 2.0) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-codec-netflow (< 4.0.0, >= 3.14.1) java depends on
      logstash-core-plugin-api (~> 2.0) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-filter-dissect (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 2.1.1) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-input-s3 (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 2.1.12) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-file (>= 0) java depends on
      logstash-core-plugin-api (< 2.99, >= 2.0.0) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-stdout (>= 0) java depends on
      logstash-core-plugin-api (< 2.99, >= 1.60.1) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-webhdfs (>= 0) java depends on
      logstash-core-plugin-api (<= 2.99, >= 1.60) java

    logstash-output-json_batch (>= 0) java depends on
      logstash-core-plugin-api (~> 1.0) java

    logstash-core-plugin-api (>= 0) java

使用此事件的目的是将我的事件批处理到 http 而不是单个调用(http插件就是这种情况)。

谢谢。

1 个答案:

答案 0 :(得分:0)

打包器没有找到兼容的版本, 第一种方法是,您可以下载存储库并修改“gemfile”并手动安装 第二种方法是,更新捆绑器。