- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Unknown setting 'hosts' for elasticsearch {:level=>:error}
4 v( r& p) P" h7 E! g6 a. R6 g3 }Error: Something is wrong with your configuration.
0 [; _ N4 D: u9 d3 r0 q8 IYou may be interested in the '--configtest' flag which you can
: w% E6 A: ~/ r( K$ K* k9 cuse to validate logstash's configuration before you choose+ H- \* Y6 Z, u8 F# L
to restart a running system.: v2 @( w/ T6 @7 m' U7 V7 W
. }% H8 h( B, e/ }
: S& }( |7 p1 h0 O4 G修改配置:
. o' K- S. X7 z; \% ^- Q # vim indexer.conf
- k0 y. n! d$ [
% q' I8 _9 L8 h- o# C" J! rinput{8 J# \, {* j: j
redis{
O7 V6 M# N3 {2 ]) @& g; n7 P; G4 k host => "cld.redis.vip.com"
/ V( U2 E( L' c: Z$ Q5 C# Q key => "logstash:redis"
! ?0 Q8 i" G* t) Z1 R data_type => "list"% @ t1 K Z, n& B5 I1 Y6 z. @3 K1 I
password => "****", c2 h* O* F4 T& X* {
}
8 B1 f- U1 M2 v# U/ i( s. o# p}
3 z U+ W8 Z9 m: B" L( Voutput{6 {- G) h5 X; p4 P- y
elasticsearch{
3 P; M4 H% l( `' c host => "clm.elasticsearch.vip.com"% D# P, O& N% q) J8 `
cluster => "elasticsearch_production"+ D x- {) G' T ^
protocol => "node"
+ |( t: b$ e' q: r1 J }, Q. D% }- Q9 j! C' S0 X
}
9 ]0 z/ _9 Q3 `* j |
|