@@ -84,15 +84,6 @@ public static class Defaults {
8484
8585 /** Default maximum number of records fetched per indexing batch. */
8686 public static final int INDEXING_BATCH_SIZE = 500 ;
87-
88- /** Default audit-log retention period in days (1 year). */
89- public static final int AUDIT_LOG_RETENTION_DAYS = 365 ;
90-
91- /** Default audit-log rollover max primary shard size. */
92- public static final String AUDIT_LOG_ROLLOVER_MAX_SIZE = "5gb" ;
93-
94- /** Default audit-log rollover max index age. */
95- public static final String AUDIT_LOG_ROLLOVER_MAX_AGE = "1d" ;
9687 }
9788
9889 private String engineSelector = Defaults .ENGINE_SELECTOR ;
@@ -130,19 +121,4 @@ public static class Defaults {
130121 private boolean rejectUnauthorized = Defaults .REJECT_UNAUTHORIZED ;
131122
132123 private int indexingBatchSize = Defaults .INDEXING_BATCH_SIZE ;
133-
134- // -- Audit-log index lifecycle --
135-
136- /**
137- * Retention period (in days) for the audit-log index. After this period, old audit-log indexes
138- * are deleted. Set to {@code 0} or negative to disable the dedicated retention policy (the shared
139- * rollover policy will be used instead).
140- */
141- private int auditLogRetentionDays = Defaults .AUDIT_LOG_RETENTION_DAYS ;
142-
143- /** Maximum primary shard size before the audit-log index rolls over. */
144- private String auditLogRolloverMaxSize = Defaults .AUDIT_LOG_ROLLOVER_MAX_SIZE ;
145-
146- /** Maximum index age before the audit-log index rolls over. */
147- private String auditLogRolloverMaxAge = Defaults .AUDIT_LOG_ROLLOVER_MAX_AGE ;
148124}
0 commit comments