-
Notifications
You must be signed in to change notification settings - Fork 71
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
Adding structured logs to syslog #501
Conversation
#256 is a blocker for this IMO. |
Do you mind attaching the before & after log entries examples to the PR description? BTW, for the impact of existing users, is the expectation like below? Case 1 - Users who don't adjust the default syslog todayImpact: The log entry would change from unstructured to structured. Case 2 - Users who customize the
|
There's also the issue of Case 1 is more of a soft breakage since there are no processors, but they could still have queries set up in Cloud Logging that depend on This could be solved by adding a mapping from Brainstorming here but what about adding a |
Replacing the tail plugin with systemd plugin gives ops-agent structured logs when reading /var/log/syslog content.
de62282
to
64b62bc
Compare
If it's infeasible to keep the 3 cases above non-breaking, another alternative is to leave the built-in config untouched, and document the config users can drop in in order to get structured syslog, and explain that any processors that are chained with the
|
Per discussion offline, we will leave the build-in config untouched, and follow up with a documentation change instead to let users know how to collect structured system logs before the next breaking change. See the tracker for the documentation change at b/229867178 |
Replacing the tail plugin with systemd plugin gives ops-agent structured
logs when reading /var/log/syslog content.