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

RFC 5424不是标准的格式 #293

Open
nsnake opened this issue Jun 28, 2020 · 1 comment
Open

RFC 5424不是标准的格式 #293

nsnake opened this issue Jun 28, 2020 · 1 comment

Comments

@nsnake
Copy link

nsnake commented Jun 28, 2020

在RFC 5425中已定义了数据格式为PRI VERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID SP STRUCTURED-DATA [SP MSG] (http://www.faqs.org/rfcs/rfc5424.html)
目前的格式中缺少MSGID和STRUCTURED-DATA的内容导致常规的日志收集格式无法兼容。如果不想添加这些内容,直接用-替代即可,这样才具有通用性

@Neeke
Copy link
Member

Neeke commented Jan 19, 2021

@nsnake 欢迎提交PR并进一步交流
格式拼装在 src/Appender.c 中

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

No branches or pull requests

2 participants