Skip to content

Commit 9750ac8

Browse files
authored
Merge pull request #90136 from openshift/logging-docs-6.2-4.17
Logging docs 6.2 4.17
2 parents 42c8456 + 03c0dfa commit 9750ac8

File tree

61 files changed

+2436
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2436
-167
lines changed

_topic_maps/_topic_map.yml

Lines changed: 56 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,41 +2993,42 @@ Topics:
29932993
Dir: logging
29942994
Distros: openshift-enterprise,openshift-origin
29952995
Topics:
2996-
# - Name: Release notes
2997-
# Dir: logging_release_notes
2998-
# Topics:
2999-
# - Name: Logging 5.9
3000-
# File: logging-5-9-release-notes
3001-
# - Name: Logging 5.8
3002-
# File: logging-5-8-release-notes
3003-
# - Name: Logging 5.7
3004-
# File: logging-5-7-release-notes
3005-
- Name: Logging 6.0
3006-
Dir: logging-6.0
2996+
- Name: Logging 6.2
2997+
Dir: logging-6.2
30072998
Topics:
3008-
- Name: Release notes
3009-
File: log6x-release-notes
3010-
- Name: About logging 6.0
3011-
File: log6x-about
3012-
- Name: Upgrading to Logging 6.0
3013-
File: log6x-upgrading-to-6
3014-
- Name: Configuring log forwarding
3015-
File: log6x-clf
3016-
- Name: Configuring LokiStack storage
3017-
File: log6x-loki
3018-
- Name: Visualization for logging
3019-
File: log6x-visual
3020-
# - Name: API reference 6.0
3021-
# File: log6x-api-reference
2999+
- Name: Support
3000+
File: log62-cluster-logging-support
3001+
- Name: Release notes
3002+
File: log6x-release-notes-6.2
3003+
- Name: About logging 6.2
3004+
File: log6x-about-6.2
3005+
- Name: Installing Logging
3006+
File: 6x-cluster-logging-deploying-6.2
3007+
- Name: Configuring log forwarding
3008+
File: log6x-clf-6.2
3009+
# - Name: Configuring the logging collector
3010+
# File: 6x-cluster-logging-collector-6.2
3011+
- Name: Configuring LokiStack storage
3012+
File: log6x-loki-6.2
3013+
- Name: Configuring LokiStack for OTLP
3014+
File: log6x-configuring-lokistack-otlp-6.2
3015+
- Name: Visualization for logging
3016+
File: log6x-visual-6.2
30223017
- Name: Logging 6.1
30233018
Dir: logging-6.1
30243019
Topics:
3020+
- Name: Support
3021+
File: log61-cluster-logging-support
30253022
- Name: Release notes
30263023
File: log6x-release-notes-6.1
30273024
- Name: About logging 6.1
30283025
File: log6x-about-6.1
3026+
- Name: Installing Logging
3027+
File: 6x-cluster-logging-deploying-6.1
30293028
- Name: Configuring log forwarding
30303029
File: log6x-clf-6.1
3030+
# - Name: Configuring the logging collector
3031+
# File: 6x-cluster-logging-collector-6.1
30313032
- Name: Configuring LokiStack storage
30323033
File: log6x-loki-6.1
30333034
- Name: Configuring LokiStack for OTLP
@@ -3036,6 +3037,36 @@ Topics:
30363037
File: log6x-opentelemetry-data-model-6.1
30373038
- Name: Visualization for logging
30383039
File: log6x-visual-6.1
3040+
- Name: Logging 6.0
3041+
Dir: logging-6.0
3042+
Topics:
3043+
- Name: Release notes
3044+
File: log6x-release-notes
3045+
- Name: About logging 6.0
3046+
File: log6x-about
3047+
- Name: Installing Logging
3048+
File: 6x-cluster-logging-deploying-6.0
3049+
- Name: Upgrading to Logging 6.0
3050+
File: log6x-upgrading-to-6
3051+
- Name: Configuring log forwarding
3052+
File: log6x-clf
3053+
# - Name: Configuring the logging collector
3054+
# File: 6x-cluster-logging-collector-6.0
3055+
- Name: Configuring LokiStack storage
3056+
File: log6x-loki
3057+
- Name: Visualization for logging
3058+
File: log6x-visual
3059+
# - Name: API reference 6.0
3060+
# File: log6x-api-reference
3061+
- Name: Logging 5.8
3062+
Dir: logging_release_notes
3063+
Topics:
3064+
- Name: Release notes
3065+
File: logging-5-8-release-notes
3066+
- Name: Installing Logging
3067+
File: cluster-logging-deploying
3068+
# - Name: Configuring the logging collector
3069+
# File: cluster-logging-collector
30393070
# - Name: Support
30403071
# File: cluster-logging-support
30413072
# - Name: Troubleshooting logging
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/logging/logging-6.0/log60-cluster-logging-support.adoc
4+
// * observability/logging/logging-6.1/log61-cluster-logging-support.adoc
5+
// * observability/logging/logging-6.2/log62-cluster-logging-support.adoc
6+
7+
:_mod-docs-content-type: REFERENCE
8+
[id="cluster-logging-maintenance-support-list_{context}"]
9+
= Unsupported configurations
10+
11+
You must set the Red{nbsp}Hat OpenShift Logging Operator to the `Unmanaged` state to modify the following components:
12+
13+
* The collector configuration file
14+
15+
* The collector daemonset
16+
17+
Explicitly unsupported cases include:
18+
19+
* *Configuring the logging collector using environment variables*. You cannot use environment variables to modify the log collector.
20+
21+
* *Configuring how the log collector normalizes logs*. You cannot modify default log normalization.

modules/cluster-logging-maintenance-support-list.adoc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,14 @@
77

88
You must set the Red{nbsp}Hat OpenShift Logging Operator to the `Unmanaged` state to modify the following components:
99

10-
* The `Elasticsearch` custom resource (CR)
11-
12-
* The Kibana deployment
13-
1410
* The `fluent.conf` file
1511

1612
* The Fluentd daemon set
1713

18-
You must set the OpenShift Elasticsearch Operator to the `Unmanaged` state to modify the Elasticsearch deployment files.
14+
* The `vector.toml` file for Vector collector deployments
1915

20-
Explicitly unsupported cases include:
2116

22-
* *Configuring default log rotation*. You cannot modify the default log rotation configuration.
17+
Explicitly unsupported cases include:
2318

2419
* *Configuring the collected log location*. You cannot change the location of the log collector output file, which by default is `/var/log/fluentd/fluentd.log`.
2520

modules/log-collector-http-server.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// * observability/logging/log_collection_forwarding/cluster-logging-collector.adoc
44

5+
6+
//This file is for Logging 5.x
7+
58
:_mod-docs-content-type: PROCEDURE
69
[id="log-collector-http-server_{context}"]
710
= Configuring the collector to receive audit logs as an HTTP server
@@ -23,7 +26,7 @@ You can configure your log collector to listen for HTTP connections and receive
2326
.Example `ClusterLogForwarder` CR if you are using a multi log forwarder deployment
2427
[source,yaml]
2528
----
26-
apiVersion: logging.openshift.io/v1beta1
29+
apiVersion: logging.openshift.io/v1
2730
kind: ClusterLogForwarder
2831
metadata:
2932
# ...

modules/log-collector-rsyslog-server.adoc

Lines changed: 0 additions & 84 deletions
This file was deleted.

modules/log6x-6-2-0-rn.adoc

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/logging/logging-6.2/log6x-release-notes-6.2.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
[id="logging-release-notes-6-2-0_{context}"]
7+
= Logging 6.2.0 Release Notes
8+
9+
This release includes link:https://access.redhat.com/errata/RHBA-2025:2398[{logging-uc} {for} Bug Fix Release 6.2.0].
10+
11+
[id="openshift-logging-release-notes-6-2-0-enhancements_{context}"]
12+
== New Features and Enhancements
13+
14+
15+
=== Log Collection
16+
17+
* With this update, HTTP outputs include a `proxy` field that you can use to send log data through an HTTP proxy. (link:https://issues.redhat.com/browse/LOG-6069[LOG-6069])
18+
19+
=== Log Storage
20+
21+
* With this update, time-based stream sharding in Loki is now enabled by the {loki-op}. This solves the issue of ingesting log entries older than the sliding time-window used by Loki. (link:https://issues.redhat.com/browse/LOG-6757[LOG-6757])
22+
23+
* With this update, you can configure a custom certificate authority (CA) certificate with {loki-op} when using Swift as an object store. (link:https://issues.redhat.com/browse/LOG-4818[LOG-4818])
24+
25+
* With this update, you can configure workload identity federation on {gcp-first} by using the Cluster Credential Operator in OpenShift 4.17 and later releases with the {loki-op}. (link:https://issues.redhat.com/browse/LOG-6158[LOG-6158])
26+
27+
[id="logging-release-notes-6-2-0-technology-preview-features_{context}"]
28+
== Technology Preview
29+
30+
:FeatureName: The OpenTelemetry Protocol (OTLP) output log forwarder
31+
include::snippets/technology-preview.adoc[]
32+
33+
* With this update, OpenTelemetry support offered by OpenShift {logging-uc} continues to improve, specifically in the area of enabling migrations from the ViaQ data model to `OpenTelemetry` when forwarding to `LokiStack`. (link:https://issues.redhat.com/browse/LOG-6146[LOG-6146])
34+
35+
* With this update, the `structuredMetadata` field has been removed from {loki-op} in the `otlp` configuration because structured metadata is now the default type. Additionally, the update introduces a `drop` field that administrators can use to drop `OpenTelemetry` attributes when receiving data through `OpenTelemetry` protocol (OTLP). (link:https://issues.redhat.com/browse/LOG-6507[LOG-6507])
36+
37+
[id="logging-release-notes-6-2-0-bug-fixes_{context}"]
38+
== Bug Fixes
39+
40+
* Before this update, the timestamp shown in the console logs did not match the `@timestamp` field in the message. With this update the timestamp is correctly shown in the console. (link:https://issues.redhat.com/browse/LOG-6222[LOG-6222])
41+
42+
* The introduction of `ClusterLogForwarder` 6.x modified the `ClusterLogForwarder` API to allow for a consistent templating mechanism. However, this was not applied to the `syslog` output spec API for the `facility` and `severity` fields. This update adds the required validation to the `ClusterLogForwarder` API for the `facility` and `severity` fields. (https://issues.redhat.com/browse/LOG-6661[LOG-6661])
43+
44+
* Before this update, an error in the {loki-op} generating the Loki configuration caused the amount of workers to delete to be zero when `1x.pico` was set as the `LokiStack` size. With this update, the number of workers to delete is set to 10. (https://issues.redhat.com/browse/LOG-6781[LOG-6781])
45+
46+
[id="logging-release-notes-6-2-0-known-issues_{context}"]
47+
== Known Issues
48+
49+
* The previous data model encoded all information in JSON. The console still uses the query of the previous data model to decode both old and new entries. The logs that are stored by using the new `OpenTelemetry` data model for the `LokiStack` output display the following error in the logging console:
50+
+
51+
----
52+
__error__ JSONParserErr
53+
__error_details__ Value looks like object, but can't find closing '}' symbol
54+
----
55+
+
56+
You can ignore the error as it is only a result of the query and not a data-related error. (https://issues.redhat.com/browse/LOG-6808[LOG-6808])
57+
58+
* Currently, the API documentation incorrectly mentions `OpenTelemetry` protocol (OTLP) attributes as `included` instead of `excluded` in the descriptions of the `drop` field. (https://issues.redhat.com/browse/LOG-6839[LOG-6839]).
59+
60+
61+
[id="logging-release-notes-6-2-0-CVEs_{context}"]
62+
== CVEs
63+
64+
* link:https://access.redhat.com/security/cve/CVE-2020-11023[CVE-2020-11023]
65+
* link:https://access.redhat.com/security/cve/CVE-2024-12797[CVE-2024-12797]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/logging/cluster-logging-collector.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="log6x-cluster-logging-collector-limits_{context}"]
7+
= Configure log collector CPU and memory limits
8+
9+
Use the log collector to adjust the CPU and memory limits.
10+
11+
.Procedure
12+
13+
* Edit the `ClusterLogForwarder` custom resource (CR):
14+
+
15+
[source,terminal]
16+
----
17+
$ oc -n openshift-logging edit ClusterLogging instance
18+
----
19+
+
20+
[source,yaml]
21+
----
22+
apiVersion: observability.openshift.io/v1
23+
kind: ClusterLogForwarder
24+
metadata:
25+
name: instance
26+
namespace: openshift-logging
27+
spec:
28+
collector:
29+
resources:
30+
limits: <1>
31+
memory: 736Mi
32+
requests:
33+
cpu: 100m
34+
memory: 736Mi
35+
# ...
36+
----
37+
<1> Specify the CPU and memory limits and requests as needed. The values shown are the default values.

0 commit comments

Comments
 (0)