易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4559|回复: 1
收起左侧

Error: Something is wrong with your configuration. logstash

[复制链接]
发表于 2017-6-16 11:28:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

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
 楼主| 发表于 2017-6-16 11:36:24 | 显示全部楼层
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.4.4/plugin-milestones {:level=>:warn}$ `  L( R9 R, k
Using milestone 1 filter plugin 'ruby'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.4.4/plugin-milestones {:level=>:warn}; L( e- O9 t: o
Using milestone 2 output plugin 'redis'. 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.4.4/plugin-milestones {:level=>:warn}
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:52 , Processed in 0.048011 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表