Skip to content

Commit e26d8a9

Browse files
committed
RHDEVDOCS-4426 - Formatting fix
1 parent 3bbdb58 commit e26d8a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/logging-loki-retention.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
With Logging version 5.6 and higher, you can configure retention policies based on log streams. Rules for these may be set globally, per tenant, or both. If you configure both, tenant rules apply before global rules.
77

88
. To enable stream-based retention, create or edit the `LokiStack` custom resource (CR):
9-
9+
+
1010
include::snippets/logging-create-apply-cr-snip.adoc[lines=9..12]
1111

1212
. You can refer to the examples below to configure your LokiStack CR.
13-
13+
+
1414
.Example global stream-based retention
1515
[source,yaml]
1616
----
@@ -48,7 +48,7 @@ spec:
4848
<1> Sets retention policy for all log streams. *Note: This field does not impact the retention period for stored logs in object storage.*
4949
<2> Retention is enabled in the cluster when this block is added to the CR.
5050
<3> Contains the link:https://grafana.com/docs/loki/latest/logql/query_examples/#query-examples[LogQL query] used to define the log stream.
51-
51+
+
5252
.Example per-tenant stream-based retention
5353
[source,yaml]
5454
----
@@ -93,7 +93,7 @@ spec:
9393
<2> Contains the link:https://grafana.com/docs/loki/latest/logql/query_examples/#query-examples[LogQL query] used to define the log stream.
9494

9595
. Then apply your configuration:
96-
96+
+
9797
include::snippets/logging-create-apply-cr-snip.adoc[lines=14..17]
9898

9999
[NOTE]

0 commit comments

Comments
 (0)