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

Audit log file rotation and shipping to Centralize logging #109

Closed
iusergii opened this issue Nov 11, 2019 · 3 comments
Closed

Audit log file rotation and shipping to Centralize logging #109

iusergii opened this issue Nov 11, 2019 · 3 comments
Labels
chart Area: helm chart enhancement New feature or request

Comments

@iusergii
Copy link
Contributor

iusergii commented Nov 11, 2019

As I understood from the [audit docs page] (https://www.vaultproject.io/docs/audit/index.html) - the most reliable audit type is file. And there is respective option in values.yaml to enable it. Which creates PVC and attaches to Statefulset.

I wondering what would be the best option to rotate this log file and how to ship it to centralize logging?

Community chart has an option to add side-car containers. We can build images with logrotate/filebeat/fluentd/etc which can do the stuff.

Is that a way you guys see it?

@jasonodonnell
Copy link
Contributor

Hi @iusergii , yes, Vault does not rotate audit files and log rotators/shippers will need to be used. There's a PR under review that will allow injection of extra sidecar containers for this purpose.

@iusergii
Copy link
Contributor Author

Hi @jasonodonnell, thank you. I will add link to PR.

@jasonodonnell
Copy link
Contributor

Merged #87. Leaving this open to add note to doc about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart Area: helm chart enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants