Conversation
audit logs should be compressed when rolling over due to size based triggering policy breaching 1GB. Total number of zipped files should be the same as for other log = 4 closes elastic#63843
|
Pinging @elastic/es-core-infra (:Core/Infra/Logging) |
|
Pinging @elastic/es-security (:Security/Audit) |
|
@elasticmachine update branch |
|
I'll leave this review in @albertzaharovits's hands. |
| appender.audit_rolling.policies.time.interval = 1 | ||
| appender.audit_rolling.policies.time.modulate = true | ||
| appender.audit_rolling.policies.size.type = SizeBasedTriggeringPolicy | ||
| appender.audit_rolling.policies.size.size = 1GB |
There was a problem hiding this comment.
I think we need to explicitly set the nomax file index attribute.
appender.audit_rolling.strategy.type = DefaultRolloverStrategy
appender.audit_rolling.strategy.fileIndex = nomax
There was a problem hiding this comment.
that's right, good find.
|
@pgomulka Sorry for the huge delay on this PR. Because the log file name changes, some folks might consider it breaking, Similarly for Also for safety I would label the PR as Also I would work a bit on the description of the PR, on the same lines with the deprecation notice. |
|
After writing the above I noticed you've removed the |
|
I removed the 7.11 label as the logs compression would be only enabled in 8.0 exactly for the reason you described #63843 (comment) |
|
@elasticmachine update branch |
|
Alright, then. It's cautious to merge to Thank you for solving! |
…h into zipping_audit_logs
audit logs should be compressed when rolling over due to size based
triggering policy breaching 1GB.
Files are not being deleted.
closes #63843
gradle check?