Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

刚刚接触的新手,怎么安装运行的 #15

Closed
dhgrz opened this issue Jun 23, 2016 · 7 comments
Closed

刚刚接触的新手,怎么安装运行的 #15

dhgrz opened this issue Jun 23, 2016 · 7 comments

Comments

@dhgrz
Copy link

dhgrz commented Jun 23, 2016

No description provided.

@dhgrz dhgrz closed this as completed Jun 23, 2016
@dhgrz
Copy link
Author

dhgrz commented Jun 23, 2016

提示这样的错误

WARN org.apache.zookeeper.ClientCnxn$SendThread main-SendThread(192.168.47.130:2181) Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused

是因为app.yml中 zookeeper.connect: 设置错误?

@dhgrz dhgrz reopened this Jun 23, 2016
@childe
Copy link
Owner

childe commented Jun 23, 2016

看起来是的, telnet一下, 看网络通吗?

@dhgrz
Copy link
Author

dhgrz commented Jun 24, 2016

可以ping通
telnet 192.168.47.130 端口号 不通 ( 拒绝)
这个端口号怎么指定。。。

所有的设置都是在app.yml中呢吧?
单机的时候,zookeeper.connect: 就是本地的地址(可是端口号怎么设定)

@dhgrz
Copy link
Author

dhgrz commented Jun 24, 2016

问题基本解决了
就是没有安装kafka原因 (各位见笑了)

还有一个问题 dictionary_path: /tmp/app.dic 是干吗用的 还有 database: '/tmp/GeoLite2-City.mmdb'

@childe
Copy link
Owner

childe commented Jun 25, 2016

/tmp/app.dic是字典, 根据字段A的内容生成字段B. 你可以参考logstash的translate filter.
/tmp/GeoLite2-City.mmdb 是IP库.

@dhgrz
Copy link
Author

dhgrz commented Jun 26, 2016

我要读入指定的日志 怎么设置

和logstash 不一样么?
我怎么跑不起来

@childe
Copy link
Owner

childe commented Jun 26, 2016

只能从kafka消费数据, 写到ES, 怎么配置自己看下项目中带的例子吧.

@childe childe closed this as completed Jun 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants