|
|
Unknown setting 'hosts' for elasticsearch {:level=>:error}
8 ?3 h3 S8 S4 x, dError: Something is wrong with your configuration. ~: `# s! N# _' D- L. e: G
You may be interested in the '--configtest' flag which you can
) J- P4 \! c* guse to validate logstash's configuration before you choose) O7 t1 a7 f* a6 }/ i
to restart a running system.: R9 o$ e. S2 a- ^) P6 e+ k
9 K* O1 J% L3 R4 B# L! T
; C' [4 X+ J8 j9 i8 h' q' H- ?5 V修改配置:! n/ H. p% R: f( _3 W3 _
# vim indexer.conf 8 H/ S5 J7 g# J$ z2 \# `" }
9 S$ p* j$ G, Z" d: S6 ~+ H1 n
input{, O2 r6 F2 J8 X* o ?4 Y
redis{- u9 f7 c2 ~4 N, `: c4 `4 M! _1 a
host => "cld.redis.vip.com"
' O, v/ h; B, r key => "logstash:redis"" P! m- b0 d& F* j" _) s/ B
data_type => "list") M6 ]' H" j* K, Q# V8 i4 v
password => "****": x4 k* s6 ]- z5 J: w# l+ U
}% [6 b8 p! v$ p, Z' B
}) L- |; G1 a& H5 S
output{5 L7 t5 F! u! b2 M4 ^* ]
elasticsearch{7 W$ \, f/ x6 | {7 m$ D3 i6 C
host => "clm.elasticsearch.vip.com": {+ D/ U. b5 c* s, b
cluster => "elasticsearch_production"" X) m W% m) |: u& \6 B9 b
protocol => "node"/ a% p# u7 g. F f; o$ f
}6 @3 g9 |) t4 ]1 n
}) j- C& O) O0 d2 y) Q, J) d# S8 O
|
|