@@ -4,7 +4,7 @@ CLP can automatically delete *archives* and/or *search results* once they're old
4
4
retention period. This guide explains:
5
5
6
6
* [ How retention works in CLP] ( #how-retention-works )
7
- * [ How to configure a retention] ( #retention-settings )
7
+ * [ How to configure retention] ( #retention-settings )
8
8
* [ Additional concerns worth noting] ( #additional-concerns )
9
9
10
10
## How retention works
@@ -108,7 +108,7 @@ For example, let's say:
108
108
When the garbage collector runs, it will evaluate the archive's expiry criteria, substituting
109
109
$08:00$ for $data\_timestamp$, and $01:01$ for $current\_time$, since $09:01$ AWST = $01:01$ UTC.
110
110
The equation then becomes $08:00 < 01:01 - 01:00$, which evaluates to false. Thus, the garbage
111
- collector won't delete the archive; in fact it won't delete it until 09:01 UTC, which is 8 hours
111
+ collector won't delete the archive; in fact, it won't delete it until 09:01 UTC, which is 8 hours
112
112
later than it should've been deleted.
113
113
114
114
Similarly, archives may be deleted prematurely if your log events use timestamps in a time zone that
@@ -147,10 +147,9 @@ This setting determines how often the garbage collector wakes up to check for an
147
147
data. To configure it, modify the value of `garbage_collector.sweep_interval` in
148
148
` etc/clp-config.yml` .
149
149
150
- For example, to configure a sweep interval 3 hours (180 minutes) for archives and 15 minutes for
150
+ For example, to configure a sweep interval of 3 hours (180 minutes) for archives and 15 minutes for
151
151
search results, use :
152
152
153
-
154
153
` ` ` yaml
155
154
garbage_collector:
156
155
logging_level: "INFO"
0 commit comments