-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Audit log for etcd key/value changes #10662
Comments
Are you proposing to use a separate flag to enable the audit logging? Or to separate the output of audit logging from the other logs generated when Currently the log output is set using When audit logging is enabled, system performance is likely to be degraded due to generating and outputting the necessary information. We probably should do better job benchmarking the result. |
I would propose at least a separate flag to provide better clarity. Ideally the audit logs could be separated from the other debug messages to allow them to be decoupled. This would allow auditing to be turned on without debugging. The notion of running a cluster continuously with debug logging just seems a bit strange. |
@jingyih @martezr If I only want to record in the log which ip will connect to the etcd and disconnected logs, can this be done with the --log-outputs flag? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
up! |
There was a request for audit logging in #5019 and a possible solution was to leverage the
--debug
flag. The problem with this is that it degrades the performance of the cluster as noted in the documentation (https://coreos.com/etcd/docs/3.3.1/op-guide/monitoring.html).This request is to allow audit data to be written to a log file or shipped to a syslog server. I don't see a need for the data to be stored in etcd as this would just be for security purposes. The following information should be included in the log entry.
The text was updated successfully, but these errors were encountered: