Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以结合rsyslogd服务使用 #18

Open
zhaoshengxian opened this issue Jul 12, 2016 · 4 comments
Open

是否可以结合rsyslogd服务使用 #18

zhaoshengxian opened this issue Jul 12, 2016 · 4 comments

Comments

@zhaoshengxian
Copy link

本人结合rsyslog使用的时候发现,
1、发送过去的msg 无法正常接收,必须要改成#msg .." "..msg才可以传送过去,而且syslog这边必须要通过%rawmsg%才能接收到
2、syslog服务在接收发送过来的数据的时候无法获取 syslogtag内容。
麻烦帮忙解答。

@agentzh
Copy link
Contributor

agentzh commented Jul 14, 2016

@zhaoshengxian Please, no Chinese here. This place is English only. Many of our developers cannot read Chinese. Thank you for your cooperation.

@flisky
Copy link

flisky commented Nov 3, 2016

Yes, absolutely.

You should follow the format from rfc3164 or rfc5424 to construct your message, and then send it to rsyslog. And rsyslogd -dn helps to see what happens on the rsyslogd side.

A tip, you may want to turn off useSpecialParser for imuxsock module:)

@tanxiaolong
Copy link

@flisky As the description says: "This lua library is a remote logging module for ngx_lua", this module doesn't support unix-socket right? just tcp/upd is supported? thx for reply!

@flisky
Copy link

flisky commented Dec 19, 2016

@tanxiaolong see PR #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants