-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Proposal: Develop Loggly logging plugin #6112
Comments
I think we can remove |
Hey, thanks for the nice suggestions. I looked into the http_logger implementation of custom_log_format definition in the plugin metadata. The default log format looks very minimal, I don't think it's suitable for logging. I think we can do one thing:
But one thing, even with tags shifted to the log format, we are going to expect the log format object something like |
The custom log format is very powerful. Note that you can use a custom variable to generate a custom log format. So we can register a variable which just returns different tags in different routes.
Do we already do it?
So the tag is not part of the log body? Could you explain it in more detail? |
So in Loggly tags can be a crucial part of filtering. In syslog packet structure they are added to the syslog header part. In the next PR when we add support for emitting logs to loggly HTTP endpoints, these tags will be a part of HTTP headers. In both cases, the body contains the typical apisix payload. Extra reference -> https://documentation.solarwinds.com/en/success_center/loggly/content/admin/tags.htm |
I see. So we need to use a separate configuration. |
Issue description
Initial phase:
reference : here
A logging plugin that works and does its job : )
Supported Protocol: SYSLOG-UDP
schema:
Metadata schema
Phase-2
This issue is for the tracking purpose of the plugin development. If you have any useful insight, feel free to let us know : )
The text was updated successfully, but these errors were encountered: