回覆列表
  • 1 # 使用者2458114238191884

    在配置檔案

    input {

    file {

    type => "json"

    path => "/home/hadoop/xinwang_XW351464_2110"

    }

    }

    output {

    elasticsearch {

    cluster => "es_master"

    #manage_template => false

    embedded => true

    index => "huhu"

    }

    }

    版本是logstash-1.3.2,es版本是1.1.1

    錯誤提示

    java -jar logstash-1.3.2-flatjar.jar agent -f ogstash-syslog.conf

    Using milestone 2 input plugin "file". This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.3.2/plugin-milestones {:level=>:warn}

    log4j, [2014-10-31T11:55:01.977] WARN: org.elasticsearch.discovery: [Jocasta] waited for 30s and no initial state was set by the discovery

    Unable to check template. Automatic template management disabled. {:error=>"waited for [30s]",

    Redhat 5.7 64bit / CentOS 5.x

    JDK 1.6.0_45

    logstash 1.3.2 (內帶kibana)

    elasticsearch 0.90.10

    redis 2.8.4

    對應下版本

  • 中秋節和大豐收的關聯?
  • 升降叉車壓不起來了怎麼回事怎麼修好?