Skip to content

Commit 785b741

Browse files
authored
Merge pull request #64406 from abrennan89/log-forwarding
OBSDOCS-206: Clean up log collection and forwarding docs
2 parents da980af + 656440f commit 785b741

30 files changed

+89
-176
lines changed

_topic_maps/_topic_map.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2580,8 +2580,6 @@ Topics:
25802580
Topics:
25812581
- Name: About the Cluster Logging custom resource
25822582
File: cluster-logging-configuring-cr
2583-
- Name: Configuring the logging collector
2584-
File: cluster-logging-collector
25852583
- Name: Configuring the log store
25862584
File: cluster-logging-log-store
25872585
- Name: Configuring the log visualizer
@@ -2603,17 +2601,17 @@ Topics:
26032601
- Name: Viewing cluster logs in Kibana
26042602
File: cluster-logging-visualizer
26052603
Distros: openshift-enterprise,openshift-origin
2606-
- Name: Forwarding logs to third party systems
2607-
File: cluster-logging-external
2608-
Distros: openshift-enterprise,openshift-origin
2609-
- Name: Enabling JSON logging
2610-
File: cluster-logging-enabling-json-logging
2611-
- Name: Collecting and storing Kubernetes events
2612-
File: cluster-logging-eventrouter
2613-
Distros: openshift-enterprise,openshift-origin
2614-
# - Name: Forwarding logs using ConfigMaps
2615-
# File: cluster-logging-external-configmap
2616-
# Distros: openshift-enterprise,openshift-origin
2604+
- Name: Log collection and forwarding
2605+
Dir: log_collection_forwarding
2606+
Topics:
2607+
- Name: About log forwarding
2608+
File: log-forwarding
2609+
- Name: Enabling JSON log forwarding
2610+
File: cluster-logging-enabling-json-logging
2611+
- Name: Configuring the logging collector
2612+
File: cluster-logging-collector
2613+
- Name: Collecting and storing Kubernetes events
2614+
File: cluster-logging-eventrouter
26172615
- Name: Updating Logging
26182616
File: cluster-logging-upgrading
26192617
- Name: Viewing cluster dashboards

_topic_maps/_topic_map_osd.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,6 @@ Topics:
374374
Topics:
375375
- Name: About the Cluster Logging custom resource
376376
File: cluster-logging-configuring-cr
377-
- Name: Configuring the logging collector
378-
File: cluster-logging-collector
379377
- Name: Configuring the log store
380378
File: cluster-logging-log-store
381379
- Name: Configuring the log visualizer
@@ -397,15 +395,17 @@ Topics:
397395
- Name: Viewing cluster logs in Kibana
398396
File: cluster-logging-visualizer
399397
Distros: openshift-dedicated
400-
- Name: Forwarding logs to third party systems
401-
File: cluster-logging-external
402-
- Name: Enabling JSON logging
403-
File: cluster-logging-enabling-json-logging
404-
- Name: Collecting and storing Kubernetes events
405-
File: cluster-logging-eventrouter
406-
# - Name: Forwarding logs using ConfigMaps
407-
# File: cluster-logging-external-configmap
408-
# Distros: openshift-dedicated
398+
- Name: Log collection and forwarding
399+
Dir: log_collection_forwarding
400+
Topics:
401+
- Name: About log forwarding
402+
File: log-forwarding
403+
- Name: Enabling JSON log forwarding
404+
File: cluster-logging-enabling-json-logging
405+
- Name: Configuring the logging collector
406+
File: cluster-logging-collector
407+
- Name: Collecting and storing Kubernetes events
408+
File: cluster-logging-eventrouter
409409
- Name: Updating Logging
410410
File: cluster-logging-upgrading
411411
- Name: Viewing cluster dashboards

_topic_maps/_topic_map_rosa.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ Topics:
498498
Topics:
499499
- Name: About the Cluster Logging custom resource
500500
File: cluster-logging-configuring-cr
501-
- Name: Configuring the logging collector
502-
File: cluster-logging-collector
503501
- Name: Configuring the log store
504502
File: cluster-logging-log-store
505503
- Name: Configuring the log visualizer
@@ -520,14 +518,17 @@ Topics:
520518
File: viewing-resource-logs
521519
- Name: Viewing cluster logs in Kibana
522520
File: cluster-logging-visualizer
523-
- Name: Forwarding logs to third party systems
524-
File: cluster-logging-external
525-
- Name: Enabling JSON logging
526-
File: cluster-logging-enabling-json-logging
527-
- Name: Collecting and storing Kubernetes events
528-
File: cluster-logging-eventrouter
529-
# - Name: Forwarding logs using ConfigMaps
530-
# File: cluster-logging-external-configmap
521+
- Name: Log collection and forwarding
522+
Dir: log_collection_forwarding
523+
Topics:
524+
- Name: About log forwarding
525+
File: log-forwarding
526+
- Name: Enabling JSON log forwarding
527+
File: cluster-logging-enabling-json-logging
528+
- Name: Configuring the logging collector
529+
File: cluster-logging-collector
530+
- Name: Collecting and storing Kubernetes events
531+
File: cluster-logging-eventrouter
531532
- Name: Updating Logging
532533
File: cluster-logging-upgrading
533534
- Name: Viewing cluster dashboards

_unused_topics/cluster-logging-log-forwarding-disable.adoc

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

adding_service_cluster/adding-service.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ include::_attributes/attributes-openshift-dedicated.adoc[]
66

77
toc::[]
88

9-
You can add, access, and remove add-on services for your {product-title}
9+
You can add, access, and remove add-on services for your {product-title}
1010
ifdef::openshift-rosa[]
11-
(ROSA)
11+
(ROSA)
1212
endif::openshift-rosa[]
1313
cluster by using {cluster-manager-first}.
1414

@@ -25,5 +25,5 @@ include::modules/deleting-service.adoc[leveloffset=+1]
2525
ifdef::openshift-rosa[]
2626
[role="_additional-resources"]
2727
== Additional resources
28-
* For information about the `cluster-logging-operator` and the AWS CloudWatch log forwarding service, see xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-cloudwatch_cluster-logging-external[Forwarding logs to Amazon CloudWatch]
28+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-cloudwatch_log-forwarding[Forwarding logs to Amazon CloudWatch]
2929
endif::[]

adding_service_cluster/rosa-available-services.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include::modules/aws-cloudwatch.adoc[leveloffset=+1]
1616
.Additional resources
1717

1818
* link:https://aws.amazon.com/cloudwatch/[Amazon CloudWatch product information]
19-
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-cloudwatch_cluster-logging-external[Forwarding logs to Amazon CloudWatch]
19+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-cloudwatch_log-forwarding[Forwarding logs to Amazon CloudWatch]
2020
2121
include::modules/osd-rhoam.adoc[leveloffset=+1]
2222

logging/cluster-logging-deploying.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ include::modules/cluster-logging-deploy-console.adoc[leveloffset=+1]
3434

3535
ifdef::openshift-enterprise,openshift-origin[]
3636
* xref:../operators/admin/olm-adding-operators-to-cluster.adoc#olm-installing-operators-from-operatorhub_olm-adding-operators-to-a-cluster[Installing Operators from the OperatorHub]
37-
* xref:../logging/config/cluster-logging-collector.adoc#cluster-logging-removing-unused-components-if-no-elasticsearch_cluster-logging-collector[Removing unused components if you do not use the default Elasticsearch log store]
37+
* xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-removing-unused-components-if-no-elasticsearch_cluster-logging-log-store[Removing unused components if you do not use the default Elasticsearch log store]
3838
endif::[]
3939
ifdef::openshift-rosa,openshift-dedicated[]
4040
* link:https://docs.openshift.com/container-platform/latest/operators/admin/olm-adding-operators-to-cluster.html[Installing Operators from OperatorHub]
41-
* link:https://docs.openshift.com/container-platform/latest/logging/config/cluster-logging-collector.html#cluster-logging-removing-unused-components-if-no-elasticsearch_cluster-logging-collector[Removing unused components if you do not use the default Elasticsearch log store]
41+
* link:https://docs.openshift.com/container-platform/latest/logging/config/cluster-logging-log-store.html#cluster-logging-removing-unused-components-if-no-elasticsearch_cluster-logging-log-store[Removing unused components if you do not use the default Elasticsearch log store]
4242
endif::[]
4343

4444
== Post-installation tasks

logging/cluster-logging-release-notes.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ In OpenShift Logging 5.3, the legacy methods of forwarding logs to Syslog and Fl
519519

520520
Instead, use the following non-legacy methods:
521521

522-
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-fluentd_cluster-logging-external[Forwarding logs using the Fluentd forward protocol]
523-
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-syslog_cluster-logging-external[Forwarding logs using the syslog protocol]
522+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-fluentd_log-forwarding[Forwarding logs using the Fluentd forward protocol]
523+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-syslog_log-forwarding[Forwarding logs using the syslog protocol]
524524

525525
[id="openshift-logging-5-3-0-legacy-forwarding-config_{context}"]
526526
==== Configuration mechanisms for legacy forwarding methods have been removed
@@ -980,13 +980,13 @@ This release includes link:https://access.redhat.com/errata/RHBA-2021:3393[RHBA-
980980
[id="openshift-logging-5-2-0-new-features-and-enhancements_{context}"]
981981
=== New features and enhancements
982982

983-
* With this update, you can forward log data to Amazon CloudWatch, which provides application and infrastructure monitoring. For more information, see xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-cloudwatch_cluster-logging-external[Forwarding logs to Amazon CloudWatch]. (link:https://issues.redhat.com/browse/LOG-1173[LOG-1173])
983+
* With this update, you can forward log data to Amazon CloudWatch, which provides application and infrastructure monitoring. For more information, see xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-cloudwatch_log-forwarding[Forwarding logs to Amazon CloudWatch]. (link:https://issues.redhat.com/browse/LOG-1173[LOG-1173])
984984

985-
* With this update, you can forward log data to Loki, a horizontally scalable, highly available, multi-tenant log aggregation system. For more information, see xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-loki_cluster-logging-external[Forwarding logs to Loki]. (link:https://issues.redhat.com/browse/LOG-684[LOG-684])
985+
* With this update, you can forward log data to Loki, a horizontally scalable, highly available, multi-tenant log aggregation system. For more information, see xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-loki_log-forwarding[Forwarding logs to Loki]. (link:https://issues.redhat.com/browse/LOG-684[LOG-684])
986986

987-
* With this update, if you use the Fluentd forward protocol to forward log data over a TLS-encrypted connection, now you can use a password-encrypted private key file and specify the passphrase in the Cluster Log Forwarder configuration. For more information, see xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-fluentd_cluster-logging-external[Forwarding logs using the Fluentd forward protocol]. (link:https://issues.redhat.com/browse/LOG-1525[LOG-1525])
987+
* With this update, if you use the Fluentd forward protocol to forward log data over a TLS-encrypted connection, now you can use a password-encrypted private key file and specify the passphrase in the Cluster Log Forwarder configuration. For more information, see xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-fluentd_log-forwarding[Forwarding logs using the Fluentd forward protocol]. (link:https://issues.redhat.com/browse/LOG-1525[LOG-1525])
988988

989-
* This enhancement enables you to use a username and password to authenticate a log forwarding connection to an external Elasticsearch instance. For example, if you cannot use mutual TLS (mTLS) because a third-party operates the Elasticsearch instance, you can use HTTP or HTTPS and set a secret that contains the username and password. For more information, see xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-es_cluster-logging-external[Forwarding logs to an external Elasticsearch instance]. (link:https://issues.redhat.com/browse/LOG-1022[LOG-1022])
989+
* This enhancement enables you to use a username and password to authenticate a log forwarding connection to an external Elasticsearch instance. For example, if you cannot use mutual TLS (mTLS) because a third-party operates the Elasticsearch instance, you can use HTTP or HTTPS and set a secret that contains the username and password. For more information, see xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-es_log-forwarding[Forwarding logs to an external Elasticsearch instance]. (link:https://issues.redhat.com/browse/LOG-1022[LOG-1022])
990990

991991
* With this update, you can collect OVN network policy audit logs for forwarding to a logging server. (link:https://issues.redhat.com/browse/LOG-1526[LOG-1526])
992992

@@ -1072,9 +1072,9 @@ From {product-title} 4.6 to the present, forwarding logs by using the following
10721072

10731073
Instead, use the following non-legacy methods:
10741074

1075-
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-fluentd_cluster-logging-external[Forwarding logs using the Fluentd forward protocol]
1075+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-fluentd_log-forwarding[Forwarding logs using the Fluentd forward protocol]
10761076

1077-
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-syslog_cluster-logging-external[Forwarding logs using the syslog protocol]
1077+
* xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-syslog_log-forwarding[Forwarding logs using the syslog protocol]
10781078

10791079
[id="openshift-logging-5-2-0-CVEs_{context}"]
10801080
=== CVEs

logging/cluster-logging-visualizer.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,8 @@ on using the interface, see the link:https://www.elastic.co/guide/en/kibana/6.8/
1919

2020
[NOTE]
2121
====
22-
The audit logs are not stored in the internal {product-title} Elasticsearch instance by default. To view the audit logs in Kibana, you must use the xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-elasticsearch-audit_cluster-logging-store[Log Forwarding API] to configure a pipeline that uses the `default` output for audit logs.
22+
The audit logs are not stored in the internal {product-title} Elasticsearch instance by default. To view the audit logs in Kibana, you must use the xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-elasticsearch-audit_cluster-logging-log-store[Log Forwarding API] to configure a pipeline that uses the `default` output for audit logs.
2323
====
2424

25-
// The following include statements pull in the module files that comprise
26-
// the assembly. Include any combination of concept, procedure, or reference
27-
// modules required to cover the user story. You can also include other
28-
// assemblies.
29-
3025
include::modules/cluster-logging-visualizer-indices.adoc[leveloffset=+1]
3126
include::modules/cluster-logging-visualizer-kibana.adoc[leveloffset=+1]

logging/cluster-logging.adoc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ As a cluster administrator, you can deploy the {logging} to aggregate all the lo
1212

1313
[NOTE]
1414
====
15-
Because the internal {product-title} Elasticsearch log store does not provide secure storage for audit logs, audit logs are not stored in the internal Elasticsearch instance by default. If you want to send the audit logs to the default internal Elasticsearch log store, for example to view the audit logs in Kibana, you must use the Log Forwarding API as described in xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-elasticsearch-audit_cluster-logging-store[Forward audit logs to the log store].
15+
Because the internal {product-title} Elasticsearch log store does not provide secure storage for audit logs, audit logs are not stored in the internal Elasticsearch instance by default. If you want to send the audit logs to the default internal Elasticsearch log store, for example to view the audit logs in Kibana, you must use the Log Forwarding API as described in xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-elasticsearch-audit_cluster-logging-log-store[Forward audit logs to the log store].
1616
====
1717
endif::[]
1818

@@ -21,7 +21,7 @@ include::modules/logging-architecture-overview.adoc[leveloffset=+1]
2121
ifdef::openshift-rosa,openshift-dedicated[]
2222
include::modules/cluster-logging-cloudwatch.adoc[leveloffset=+1]
2323
.Next steps
24-
* See xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-cloudwatch_cluster-logging-external[Forwarding logs to Amazon CloudWatch] for instructions.
24+
* See xref:../logging/log_collection_forwarding/log-forwarding.adoc#cluster-logging-collector-log-forward-cloudwatch_log-forwarding[Forwarding logs to Amazon CloudWatch] for instructions.
2525
endif::[]
2626

2727
include::modules/logging-common-terms.adoc[leveloffset=+1]
@@ -33,7 +33,7 @@ include::modules/cluster-logging-json-logging-about.adoc[leveloffset=+2]
3333

3434
include::modules/cluster-logging-collecting-storing-kubernetes-events.adoc[leveloffset=+2]
3535

36-
For information, see xref:../logging/cluster-logging-eventrouter.adoc#cluster-logging-eventrouter[About collecting and storing Kubernetes events].
36+
For information, see xref:../logging/log_collection_forwarding/cluster-logging-eventrouter.adoc#cluster-logging-eventrouter[About collecting and storing Kubernetes events].
3737

3838
include::modules/cluster-logging-update-logging.adoc[leveloffset=+2]
3939

@@ -57,22 +57,18 @@ include::modules/cluster-logging-about-components.adoc[leveloffset=+2]
5757

5858
include::modules/cluster-logging-about-collector.adoc[leveloffset=+2]
5959

60-
For information, see xref:../logging/config/cluster-logging-collector.adoc#cluster-logging-collector[Configuring the logging collector].
60+
For information, see xref:../logging/log_collection_forwarding/cluster-logging-collector.adoc#cluster-logging-collector[Configuring the logging collector].
6161

6262
include::modules/cluster-logging-about-logstore.adoc[leveloffset=+2]
6363

64-
For information, see xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-store[Configuring the log store].
64+
For information, see xref:../logging/config/cluster-logging-log-store.adoc#cluster-logging-log-store[Configuring the log store].
6565

6666
include::modules/cluster-logging-about-visualizer.adoc[leveloffset=+2]
6767

6868
For information, see xref:../logging/config/cluster-logging-visualizer.adoc#cluster-logging-visualizer[Configuring the log visualizer].
6969

7070
include::modules/cluster-logging-eventrouter-about.adoc[leveloffset=+2]
7171

72-
For information, see xref:../logging/cluster-logging-eventrouter.adoc#cluster-logging-eventrouter[Collecting and storing Kubernetes events].
73-
74-
include::modules/cluster-logging-forwarding-about.adoc[leveloffset=+2]
75-
76-
For information, see xref:../logging/cluster-logging-external.adoc#cluster-logging-external[Forwarding logs to third-party systems].
72+
For information, see xref:../logging/log_collection_forwarding/cluster-logging-eventrouter.adoc#cluster-logging-eventrouter[Collecting and storing Kubernetes events].
7773

7874
include::modules/cluster-logging-feature-reference.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)