Skip to content

Commit ba61a03

Browse files
authored
Merge pull request #13877 from mburke5678/logging-team-edits
Edits to Logging 4.0 topics per team review
2 parents cf05d42 + 98e58b8 commit ba61a03

File tree

68 files changed

+1125
-812
lines changed

Some content is hidden

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

68 files changed

+1125
-812
lines changed

_topic_map.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ Distros: openshift-*
431431
Topics:
432432
- Name: About cluster logging
433433
File: efk-logging
434-
- Name: Deploying EFK stack
434+
- Name: Deploying cluster logging
435435
File: efk-logging-deploy
436436
- Name: Configuring cluster logging
437437
File: efk-logging-configuring
@@ -451,11 +451,11 @@ Topics:
451451
File: efk-logging-external
452452
- Name: Manually rolling out Elasticsearch
453453
File: efk-logging-manual-rollout
454-
- Name: Troubleshooting Kubernetes
454+
- Name: Troubleshooting Kibana
455455
File: efk-logging-troubleshooting
456456
- Name: Exported fields
457457
File: efk-logging-exported-fields
458-
- Name: Uninstalling the EFK stack
458+
- Name: Uninstalling cluster logging
459459
File: efk-logging-uninstall
460460
---
461461
Name: CLI reference

logging/efk-logging-configuring.adoc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ include::modules/common-attributes.adoc[]
66
toc::[]
77

88
Cluster logging is configurable using a Cluster Logging Custom Resource (CR) deployed
9-
in the **openshift-logging** namespace.
9+
in the `openshift-logging` project.
1010

11-
The Cluster Logging Operator watches for changes in the Cluster Logging CR
12-
and adjusts the logging deployment accordingly.
11+
The Cluster Logging Operator watches for changes to xref:efk-logging-configuring-about-sample#efk-logging-configuring[Cluster Logging CRs],
12+
creates any missing logging components, and adjusts the logging deployment accordingly.
1313

1414
The Cluster Logging CR is based on the Cluster Logging Custom Resource Definition (CRD), which defines a complete cluster logging deployment
1515
and includes all the components of the logging stack to collect, store and visualize logs.
1616

17-
.Sample Cluster Logging Custom Resource Definition (CRD)
17+
.Sample Cluster Logging Custom Resource (CR)
1818
[source,yaml]
1919
----
2020
apiVersion: "logging.openshift.io/v1alpha1"
2121
kind: "ClusterLogging"
2222
metadata:
23-
name: "example"
23+
name: "instance"
2424
spec:
2525
managementState: "Managed"
2626
logStore:
2727
type: "elasticsearch"
2828
elasticsearch:
29-
nodeCount: 1
29+
nodeCount: 3
3030
storage: {}
3131
redundancyPolicy: "SingleRedundancy"
3232
visualization:
@@ -43,22 +43,25 @@ spec:
4343
fluentd: {}
4444
----
4545

46-
You can configure the following components of cluster logging:
46+
You can configure the following for cluster logging:
4747

4848
* You can place cluster logging into an unmanaged state that allows an administrator to assume full control of individual
4949
component configurations and upgrades.
5050
5151
* You can overwrite the image for each cluster logging component by modifying the appropriate
5252
environment variable in the `cluster-logging-operator` Deployment.
5353
54-
* You can specify specific nodes for the logging components.
54+
* You can specify specific nodes for the logging components using node selectors.
5555
56+
////
57+
4.1
5658
* You can specify the Log collectors to deploy to each node in a cluster, either Fluentd or Rsyslog.
5759

5860
[IMPORTANT]
5961
====
6062
The Rsyslog log collector is currently a Technology Preview feature.
6163
====
64+
////
6265

6366
// The following include statements pull in the module files that comprise
6467
// the assembly. Include any combination of concept, procedure, or reference
@@ -69,6 +72,4 @@ include::modules/efk-logging-management-state-changing.adoc[leveloffset=+1]
6972

7073
include::modules/efk-logging-configuring-image-about.adoc[leveloffset=+1]
7174

72-
include::modules/efk-logging-configuring-image.adoc[leveloffset=+2]
73-
7475
include::modules/efk-logging-configuring-node-selector.adoc[leveloffset=+1]

logging/efk-logging-curator.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
As an administrator, you can use the built-in Elasticsearch Curator tool to configure scheduled Elasticsearch maintenance operations
9-
to be performed automatically on a per-project basis. Curator performs actions daily based on its configuration. Only one Curator Pod is
8+
The Elasticsearch Curator tool performs scheduled maintenance operations on a per-project basis. Curator performs actions daily based on its configuration. Only one Curator Pod is
109
recommended per Elasticsearch cluster.
1110

1211
The cluster logging installation creates a Curator configuration map, `curator` in the `openshift-logging` project, which incorporates the Curator configuration file, *_curator5.yaml_* and an {product-title} custom configuration file, *_config.yaml_*.
@@ -105,6 +104,11 @@ data:
105104

106105
Optionally, you can use the actions file, *_actions.yaml_*, directly. Editing this file allows you to use any action that Curator has available to it to be run periodically. However, this is only recommended for advanced users as modifying the file can be destructive to the cluster and can cause removal of required indices/settings from Elasticsearch. Most users only need to modify the Curator configuration map and never edit the *action file*.
107106

107+
[NOTE]
108+
====
109+
Procedures in this topic require your cluster to be in an unmanaged state. For more information, see xref:../logging/efk-logging-configuring.html#efk-logging-elasticsearch-management-state-changing_efk-logging-configuring[Changing the cluster logging management state].
110+
====
111+
108112
// The following include statements pull in the module files that comprise
109113
// the assembly. Include any combination of concept, procedure, or reference
110114
// modules required to cover the user story. You can also include other

logging/efk-logging-deploy.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
The process for deploying the EFK into {prouct-title} involves:
8+
The process for deploying cluster Logging to {prouct-title} involves:
99

10-
* Preparing yourself and your environment;
10+
* Preparing your environment;
1111
1212
* Installing the Cluster Logging subscription using the web console.
1313
@@ -16,8 +16,6 @@ The process for deploying the EFK into {prouct-title} involves:
1616
// modules required to cover the user story. You can also include other
1717
// assemblies.
1818

19-
include::modules/efk-logging-deploy-pre.adoc[leveloffset=+1]
20-
2119
include::modules/efk-logging-deploy-subscription.adoc[leveloffset=+1]
2220

2321
include::modules/efk-logging-deploy-storage-considerations.adoc[leveloffset=+1]
@@ -27,3 +25,9 @@ include::modules/efk-logging-deploy-storage-considerations.adoc[leveloffset=+1]
2725
// include::modules/efk-logging-deploy-certificates.adoc[leveloffset=+1]
2826

2927
// include::modules/efk-logging-deploy-label.adoc[leveloffset=+1]
28+
29+
== Additional resources
30+
31+
For more information on installing operators,see xref:../applications/operators/olm-adding-operators-to-cluster.html#olm-installing-operators-from-operatorhub-olm-adding-operators-to-a-cluster[Installing Operators from the OperatorHub].
32+
33+
For information on scaling your Elasticsearch cluster, see xref:../logging/efk-logging-elasticsearch.adoc#efk-logging-elasticsearch-add-remove_efk-logging-elasticsearch[Scaling your Elasticsearch cluster].

logging/efk-logging-elasticsearch-storage.adoc

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,22 @@ metadata:
3737
size: "200G"
3838
----
3939

40+
[NOTE]
41+
====
42+
Procedures in this topic require your cluster to be in an unmanaged state. For more information, see xref:../logging/efk-logging-configuring.html#efk-logging-elasticsearch-management-state-changing_efk-logging-configuring[Changing the cluster logging management state].
43+
====
44+
4045
// The following include statements pull in the module files that comprise
4146
// the assembly. Include any combination of concept, procedure, or reference
4247
// modules required to cover the user story. You can also include other
4348
// assemblies.
4449

50+
include::modules/efk-logging-elasticsearch-storage.adoc[leveloffset=+1]
4551

46-
include::modules/efk-logging-elasticsearch-persistent-storage-persistent.adoc[leveloffset=+1]
52+
include::modules/efk-logging-elasticsearch-persistent-storage-empty.adoc[leveloffset=+1]
4753

48-
include::modules/efk-logging-elasticsearch-persistent-storage-local.adoc[leveloffset=+1]
54+
include::modules/efk-logging-elasticsearch-add-remove.adoc[leveloffset=+1]
4955

50-
include::modules/efk-logging-elasticsearch-persistent-storage-empty.adoc[leveloffset=+1]
56+
include::modules/efk-logging-elasticsearch-exposing.adoc[leveloffset=+1]
57+
58+
include::modules/efk-logging-elasticsearch-rules.adoc[leveloffset=+1]

logging/efk-logging-elasticsearch.adoc

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,23 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
{product-title} uses Elasticsearch (ES) to organize the log data from Fleutnd into datastores, or _indices_.
8+
{product-title} uses Elasticsearch (ES) to store and organize the log data.
99

1010
You can add and remove nodes, configure storage for your Elasticsearch cluster, and
1111
define how shards are replicated across data nodes in the cluster, from full replication to no replication.
1212

13+
//Following paragraph also in modules/efk-logging-deploy-storage-considerations.adoc
14+
15+
Elasticsearch is a memory-intensive application. Each Elasticsearch node needs 16G of memory for both memory requests and CPU limits
16+
unless you specify otherwise the ClusterLogging custom resource. The initial set of {product-title} nodes might not be large enough
17+
to support the Elasticsearch cluster. You must add additional nodes to the {product-title} cluster to run with the recommended
18+
or higher memory. Each Elasticsearch node can operate with a lower memory setting though this is not recommended for production deployments.
19+
20+
[NOTE]
21+
====
22+
Procedures in this topic require your cluster to be in an unmanaged state. For more information, see xref:../logging/efk-logging-configuring.html#efk-logging-elasticsearch-management-state-changing_efk-logging-configuring[Changing the cluster logging management state].
23+
====
24+
1325
// The following include statements pull in the module files that comprise
1426
// the assembly. Include any combination of concept, procedure, or reference
1527
// modules required to cover the user story. You can also include other
@@ -21,17 +33,23 @@ include::modules/efk-logging-elasticsearch-ha.adoc[leveloffset=+1]
2133

2234
include::modules/efk-logging-elasticsearch-storage.adoc[leveloffset=+1]
2335

24-
include::modules/efk-logging-elasticsearch-persistent-storage-persistent.adoc[leveloffset=+2]
25-
26-
include::modules/efk-logging-elasticsearch-persistent-storage-persistent-dynamic.adoc[leveloffset=+2]
27-
28-
include::modules/efk-logging-elasticsearch-persistent-storage-local.adoc[leveloffset=+2]
29-
30-
include::modules/efk-logging-elasticsearch-persistent-storage-empty.adoc[leveloffset=+2]
36+
include::modules/efk-logging-elasticsearch-persistent-storage-empty.adoc[leveloffset=+1]
3137

3238
include::modules/efk-logging-elasticsearch-add-remove.adoc[leveloffset=+1]
3339

3440
include::modules/efk-logging-elasticsearch-exposing.adoc[leveloffset=+1]
3541

3642
include::modules/efk-logging-elasticsearch-rules.adoc[leveloffset=+1]
3743

44+
////
45+
modules/efk-logging-elasticsearch-persistent-storage-persistent.adoc[leveloffset=+2]
46+
47+
modules/efk-logging-elasticsearch-persistent-storage-persistent-dynamic.adoc[leveloffset=+2]
48+
49+
modules/efk-logging-elasticsearch-persistent-storage-local.adoc[leveloffset=+2]
50+
////
51+
52+
== Additional Resources
53+
54+
//For information on installing Elasticsearch, see xref:../logging/efk-logging-deploy.adoc[Deploying cluster logging].
55+

logging/efk-logging-exported-fields.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ include::modules/efk-logging-exported-fields-systemd.adoc[leveloffset=+1]
3838

3939
include::modules/efk-logging-exported-fields-kubernetes.adoc[leveloffset=+1]
4040

41-
include::modules/efk-logging-exported-fields-docker.adoc[leveloffset=+1]
41+
include::modules/efk-logging-exported-fields-container.adoc[leveloffset=+1]
4242

4343
include::modules/efk-logging-exported-fields-ovirt.adoc[leveloffset=+1]
4444

logging/efk-logging-external.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ toc::[]
88
You can send Elasticsearch logs to external devices, such as an externally-hosted Elasticsearch instance
99
or an external syslog server. You can also configure Fluentd to send logs to an external log aggregator.
1010

11+
[NOTE]
12+
====
13+
Procedures in this topic require your cluster to be in an unmanaged state. For more information, see xref:../logging/efk-logging-configuring.html#efk-logging-elasticsearch-management-state-changing_efk-logging-configuring[Changing the cluster logging management state].
14+
====
15+
1116
// The following include statements pull in the module files that comprise
1217
// the assembly. Include any combination of concept, procedure, or reference
1318
// modules required to cover the user story. You can also include other
@@ -19,5 +24,3 @@ include::modules/efk-logging-external-syslog.adoc[leveloffset=+1]
1924

2025
include::modules/efk-logging-fluentd-external.adoc[leveloffset=+1]
2126

22-
23-

logging/efk-logging-fluentd.adoc

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
{product-title} uses Fluentd to collect data about your cluster.
8+
{product-title} uses Fluentd to collect operations and application logs from your cluster which {product-title} enriches with Kubernetes Pod and Namespace metadata.
99

1010
You can configure log rotation, log location, use an external log aggregator, and make other configurations.
1111

12+
[NOTE]
13+
====
14+
Procedures in this topic require your cluster to be in an unmanaged state. For more information, see xref:../logging/efk-logging-configuring.html#efk-logging-elasticsearch-management-state-changing_efk-logging-configuring[Changing the cluster logging management state].
15+
====
16+
1217
// The following include statements pull in the module files that comprise
1318
// the assembly. Include any combination of concept, procedure, or reference
1419
// modules required to cover the user story. You can also include other
@@ -22,12 +27,15 @@ include::modules/efk-logging-fluentd-log-viewing.adoc[leveloffset=+1]
2227

2328
include::modules/efk-logging-fluentd-limits.adoc[leveloffset=+1]
2429

30+
////
31+
4.1
2532
include::modules/efk-logging-fluentd-collector.adoc[leveloffset=+1]
26-
27-
include::modules/efk-logging-fluentd-log-location.adoc[leveloffset=+1]
33+
////
2834

2935
include::modules/efk-logging-fluentd-log-rotation.adoc[leveloffset=+1]
3036

37+
include::modules/efk-logging-fluentd-log-location.adoc[leveloffset=+1]
38+
3139
include::modules/efk-logging-fluentd-external.adoc[leveloffset=+1]
3240

3341
include::modules/efk-logging-fluentd-throttling.adoc[leveloffset=+1]

logging/efk-logging-image.adoc

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

0 commit comments

Comments
 (0)