Skip to content

Commit 839caeb

Browse files
authored
Merge pull request #53099 from EricPonvelle/OSDOCS-3397_Logging-Port
OSDOCS-3397: Ports the logging book to OSD/ROSA
2 parents 49b3ada + ecb1eac commit 839caeb

File tree

48 files changed

+522
-284
lines changed

Some content is hidden

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

48 files changed

+522
-284
lines changed

_topic_maps/_topic_map_osd.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,79 @@ Topics:
251251
- Name: Configuring custom domains for applications
252252
File: osd-config-custom-domains-applications
253253
---
254+
Name: Logging
255+
Dir: logging
256+
Distros: openshift-dedicated
257+
Topics:
258+
- Name: Release notes
259+
File: cluster-logging-release-notes
260+
- Name: About Logging
261+
File: cluster-logging
262+
- Name: Installing Logging
263+
File: cluster-logging-deploying
264+
- Name: Accessing the service logs
265+
File: sd-accessing-the-service-logs
266+
- Name: Configuring your Logging deployment
267+
Dir: config
268+
Topics:
269+
- Name: About the Cluster Logging custom resource
270+
File: cluster-logging-configuring-cr
271+
- Name: Configuring the logging collector
272+
File: cluster-logging-collector
273+
- Name: Configuring the log store
274+
File: cluster-logging-log-store
275+
- Name: Configuring the log visualizer
276+
File: cluster-logging-visualizer
277+
- Name: Configuring Logging storage
278+
File: cluster-logging-storage-considerations
279+
- Name: Configuring CPU and memory limits for Logging components
280+
File: cluster-logging-memory
281+
- Name: Using tolerations to control Logging pod placement
282+
File: cluster-logging-tolerations
283+
- Name: Moving the Logging resources with node selectors
284+
File: cluster-logging-moving-nodes
285+
- Name: Configuring systemd-journald and Fluentd
286+
File: cluster-logging-systemd
287+
- Name: Maintenance and support
288+
File: cluster-logging-maintenance-support
289+
- Name: Logging with the LokiStack
290+
File: cluster-logging-loki
291+
- Name: Viewing logs for a specific resource
292+
File: viewing-resource-logs
293+
- Name: Viewing cluster logs in Kibana
294+
File: cluster-logging-visualizer
295+
Distros: openshift-dedicated
296+
- Name: Forwarding logs to third party systems
297+
File: cluster-logging-external
298+
- Name: Enabling JSON logging
299+
File: cluster-logging-enabling-json-logging
300+
- Name: Collecting and storing Kubernetes events
301+
File: cluster-logging-eventrouter
302+
# - Name: Forwarding logs using ConfigMaps
303+
# File: cluster-logging-external-configmap
304+
# Distros: openshift-dedicated
305+
- Name: Updating Logging
306+
File: cluster-logging-upgrading
307+
- Name: Viewing cluster dashboards
308+
File: cluster-logging-dashboards
309+
- Name: Troubleshooting Logging
310+
Dir: troubleshooting
311+
Topics:
312+
- Name: Viewing Logging status
313+
File: cluster-logging-cluster-status
314+
- Name: Viewing the status of the log store
315+
File: cluster-logging-log-store-status
316+
- Name: Understanding Logging alerts
317+
File: cluster-logging-alerts
318+
- Name: Collecting logging data for Red Hat Support
319+
File: cluster-logging-must-gather
320+
- Name: Troubleshooting for Critical Alerts
321+
File: cluster-logging-troubleshooting-for-critical-alerts
322+
- Name: Uninstalling Logging
323+
File: cluster-logging-uninstall
324+
- Name: Exported fields
325+
File: cluster-logging-exported-fields
326+
---
254327
Name: Serverless
255328
Dir: serverless
256329
Distros: openshift-dedicated

_topic_maps/_topic_map_rosa.yml

Lines changed: 73 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,6 @@ Topics:
212212
Distros: openshift-rosa
213213
- Name: About autoscaling nodes on a cluster
214214
File: rosa-nodes-about-autoscaling-nodes
215-
- Name: Logging
216-
Dir: rosa_logging
217-
Distros: openshift-rosa
218-
Topics:
219-
- Name: Accessing the service logs
220-
File: rosa-accessing-the-service-logs
221-
- Name: Installing the CloudWatch logging service
222-
File: rosa-install-logging
223-
- Name: Viewing cluster logs in the AWS Console
224-
File: rosa-viewing-logs
225215
- Name: Monitoring user-defined projects
226216
Dir: rosa_monitoring
227217
Distros: openshift-rosa
@@ -365,6 +355,79 @@ Topics:
365355
# - Name: Using the internal registry
366356
# File: rosa-using-internal-registry
367357
---
358+
Name: Logging
359+
Dir: logging
360+
Distros: openshift-rosa
361+
Topics:
362+
- Name: Release notes
363+
File: cluster-logging-release-notes
364+
- Name: About Logging
365+
File: cluster-logging
366+
- Name: Installing Logging
367+
File: cluster-logging-deploying
368+
- Name: Accessing the service logs
369+
File: sd-accessing-the-service-logs
370+
- Name: Viewing cluster logs in the AWS Console
371+
File: rosa-viewing-logs
372+
- Name: Configuring your Logging deployment
373+
Dir: config
374+
Topics:
375+
- Name: About the Cluster Logging custom resource
376+
File: cluster-logging-configuring-cr
377+
- Name: Configuring the logging collector
378+
File: cluster-logging-collector
379+
- Name: Configuring the log store
380+
File: cluster-logging-log-store
381+
- Name: Configuring the log visualizer
382+
File: cluster-logging-visualizer
383+
- Name: Configuring Logging storage
384+
File: cluster-logging-storage-considerations
385+
- Name: Configuring CPU and memory limits for Logging components
386+
File: cluster-logging-memory
387+
- Name: Using tolerations to control Logging pod placement
388+
File: cluster-logging-tolerations
389+
- Name: Moving the Logging resources with node selectors
390+
File: cluster-logging-moving-nodes
391+
- Name: Configuring systemd-journald and Fluentd
392+
File: cluster-logging-systemd
393+
- Name: Maintenance and support
394+
File: cluster-logging-maintenance-support
395+
- Name: Logging with the LokiStack
396+
File: cluster-logging-loki
397+
- Name: Viewing logs for a specific resource
398+
File: viewing-resource-logs
399+
- Name: Viewing cluster logs in Kibana
400+
File: cluster-logging-visualizer
401+
- Name: Forwarding logs to third party systems
402+
File: cluster-logging-external
403+
- Name: Enabling JSON logging
404+
File: cluster-logging-enabling-json-logging
405+
- Name: Collecting and storing Kubernetes events
406+
File: cluster-logging-eventrouter
407+
# - Name: Forwarding logs using ConfigMaps
408+
# File: cluster-logging-external-configmap
409+
- Name: Updating Logging
410+
File: cluster-logging-upgrading
411+
- Name: Viewing cluster dashboards
412+
File: cluster-logging-dashboards
413+
- Name: Troubleshooting Logging
414+
Dir: troubleshooting
415+
Topics:
416+
- Name: Viewing Logging status
417+
File: cluster-logging-cluster-status
418+
- Name: Viewing the status of the log store
419+
File: cluster-logging-log-store-status
420+
- Name: Understanding Logging alerts
421+
File: cluster-logging-alerts
422+
- Name: Collecting logging data for Red Hat Support
423+
File: cluster-logging-must-gather
424+
- Name: Troubleshooting for Critical Alerts
425+
File: cluster-logging-troubleshooting-for-critical-alerts
426+
- Name: Uninstalling Logging
427+
File: cluster-logging-uninstall
428+
- Name: Exported fields
429+
File: cluster-logging-exported-fields
430+
---
368431
Name: Service Mesh
369432
Dir: service_mesh
370433
Distros: openshift-rosa

adding_service_cluster/adding-service.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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:../rosa_cluster_admin/rosa_logging/rosa-install-logging.adoc#rosa-install-logging[Install the logging add-on service]
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]
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:../rosa_cluster_admin/rosa_logging/rosa-install-logging.adoc#rosa-install-logging[Installing the CloudWatch logging service]
19+
* xref:../logging/cluster-logging-external.adoc#cluster-logging-collector-log-forward-cloudwatch_cluster-logging-external[Forwarding logs to Amazon CloudWatch]
2020
2121
include::modules/osd-rhoam.adoc[leveloffset=+1]
2222

logging/cluster-logging-dashboards.adoc

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
:_content-type: ASSEMBLY
2-
:context: cluster-logging-dashboards
2+
include::_attributes/common-attributes.adoc[]
3+
include::_attributes/attributes-openshift-dedicated.adoc[]
34
[id="cluster-logging-dashboards"]
45
= Viewing cluster dashboards
5-
include::_attributes/common-attributes.adoc[]
6+
:context: cluster-logging-dashboards
67

78
toc::[]
89

9-
The *Logging/Elasticsearch Nodes* and *Openshift Logging* dashboards in the {product-title} web console show in-depth details about your Elasticsearch instance and the individual Elasticsearch nodes that you can use to prevent and diagnose problems.
10+
The *Logging/Elasticsearch Nodes* and *Openshift Logging* dashboards in the
11+
ifndef::openshift-rosa,openshift-dedicated[]
12+
{product-title} web console
13+
endif::[]
14+
ifdef::openshift-rosa,openshift-dedicated[]
15+
{cluster-manager-url}
16+
endif::[]
17+
contain in-depth details about your Elasticsearch instance and the individual Elasticsearch nodes that you can use to prevent and diagnose problems.
1018

1119
The *OpenShift Logging* dashboard contains charts that show details about your Elasticsearch instance at a cluster level, including cluster resources, garbage collection, shards in the cluster, and Fluentd statistics.
1220

logging/cluster-logging-deploying.adoc

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33
[id="cluster-logging-deploying"]
44
= Installing the {logging-title}
55
include::_attributes/common-attributes.adoc[]
6+
include::_attributes/attributes-openshift-dedicated.adoc[]
67

78
toc::[]
89

9-
1010
You can install the {logging-title} by deploying the OpenShift Elasticsearch and Red Hat OpenShift Logging Operators. The OpenShift Elasticsearch Operator creates and manages the Elasticsearch cluster used by OpenShift Logging. The {logging} Operator creates and manages the components of the logging stack.
1111

12-
The process for deploying the {logging} to {product-title} involves:
12+
The process for deploying the {logging} to {product-title}
13+
ifdef::openshift-rosa[]
14+
(ROSA)
15+
endif::[]
16+
involves:
1317

1418
* Reviewing the xref:../logging/config/cluster-logging-storage-considerations#cluster-logging-storage[{logging-uc} storage considerations].
1519
16-
* Installing the OpenShift Elasticsearch Operator and Red Hat OpenShift Logging Operator using the {product-title} xref:../logging/cluster-logging-deploying.adoc#cluster-logging-deploy-console_cluster-logging-deploying[web console] or xref:../logging/cluster-logging-deploying.adoc#cluster-logging-deploy-cli_cluster-logging-deploying[CLI].
20+
* Installing the logging subsystem for {product-title} using xref:../logging/cluster-logging-deploying.adoc#cluster-logging-deploy-console_cluster-logging-deploying[the web console] or xref:../logging/cluster-logging-deploying.adoc#cluster-logging-deploy-cli_cluster-logging-deploying[the CLI].
1721
1822
// The following include statements pull in the module files that comprise
1923
// the assembly. Include any combination of concept, procedure, or reference
@@ -25,7 +29,14 @@ include::modules/cluster-logging-deploy-console.adoc[leveloffset=+1]
2529
[role="_additional-resources"]
2630
.Additional resources
2731

32+
ifdef::openshift-enterprise,openshift-origin[]
2833
* 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]
34+
* 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]
35+
endif::[]
36+
ifdef::openshift-rosa,openshift-dedicated[]
37+
* link:https://docs.openshift.com/container-platform/latest/operators/admin/olm-adding-operators-to-cluster.html[Installing Operators from OperatorHub]
38+
* 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]
39+
endif::[]
2940

3041
== Post-installation tasks
3142

@@ -49,10 +60,16 @@ include::modules/cluster-logging-deploy-multitenant.adoc[leveloffset=+2]
4960
[role="_additional-resources"]
5061
.Additional resources
5162

63+
ifdef::openshift-enterprise,openshift-origin[]
5264
* xref:../networking/network_policy/about-network-policy.adoc[About network policy]
53-
* xref:../networking/openshift_sdn/about-openshift-sdn.adoc[About the OpenShift SDN network plugin]
54-
* xref:../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc[About the OVN-Kubernetes network plugin]
55-
65+
* xref:../networking/openshift_sdn/about-openshift-sdn.adoc[About the OpenShift SDN default CNI network provider]
66+
* xref:../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc[About the OVN-Kubernetes default Container Network Interface (CNI) network provider]
67+
endif::[]
68+
ifdef::openshift-rosa,openshift-dedicated[]
69+
* link:https://docs.openshift.com/container-platform/latest/networking/network_policy/about-network-policy.html[About network policy]
70+
* link:https://docs.openshift.com/container-platform/latest/networking/openshift_sdn/about-openshift-sdn.html[About the OpenShift SDN default CNI network provider]
71+
* link:https://docs.openshift.com/container-platform/latest/networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.html[About the OVN-Kubernetes default Container Network Interface (CNI) network provider]
72+
endif::[]
5673

5774
// include::modules/cluster-logging-deploy-memory.adoc[leveloffset=+1]
5875

logging/cluster-logging-exported-fields.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
:_content-type: ASSEMBLY
2-
:context: cluster-logging-exported-fields
32
[id="cluster-logging-exported-fields"]
43
= Log Record Fields
54
include::_attributes/common-attributes.adoc[]
5+
include::_attributes/attributes-openshift-dedicated.adoc[]
6+
:context: cluster-logging-exported-fields
67

78
toc::[]
89

0 commit comments

Comments
 (0)