You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/cluster-logging-deploy-console.adoc
+26-24Lines changed: 26 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,15 +93,15 @@ configuring {logging} components for information on modifications you can make t
93
93
+
94
94
[source,yaml]
95
95
----
96
-
apiVersion: "logging.openshift.io/v1"
97
-
kind: "ClusterLogging"
96
+
apiVersion: logging.openshift.io/v1
97
+
kind: ClusterLogging
98
98
metadata:
99
-
name: "instance" <1>
100
-
namespace: "openshift-logging"
99
+
name: instance <1>
100
+
namespace: openshift-logging
101
101
spec:
102
-
managementState: "Managed" <2>
102
+
managementState: Managed <2>
103
103
logStore:
104
-
type: "elasticsearch" <3>
104
+
type: elasticsearch <3>
105
105
retentionPolicy: <4>
106
106
application:
107
107
maxAge: 1d
@@ -112,27 +112,27 @@ spec:
112
112
elasticsearch:
113
113
nodeCount: 3 <5>
114
114
storage:
115
-
storageClassName: "<storage_class_name>" <6>
115
+
storageClassName: <storage_class_name> <6>
116
116
size: 200G
117
117
resources: <7>
118
118
limits:
119
-
memory: "16Gi"
119
+
memory: 16Gi
120
120
requests:
121
-
memory: "16Gi"
121
+
memory: 16Gi
122
122
proxy: <8>
123
123
resources:
124
124
limits:
125
125
memory: 256Mi
126
126
requests:
127
127
memory: 256Mi
128
-
redundancyPolicy: "SingleRedundancy"
128
+
redundancyPolicy: SingleRedundancy
129
129
visualization:
130
-
type: "kibana" <9>
130
+
type: kibana <9>
131
131
kibana:
132
132
replicas: 1
133
133
collection:
134
134
logs:
135
-
type: "fluentd" <10>
135
+
type: fluentd <10>
136
136
fluentd: {}
137
137
----
138
138
<1> The name must be `instance`.
@@ -180,19 +180,21 @@ The number of primary shards for the index templates is equal to the number of E
180
180
181
181
.. Select the *openshift-logging* project.
182
182
+
183
-
You should see several pods for OpenShift Logging, Elasticsearch, Fluentd, and Kibana similar to the following list:
183
+
Confirm that pods exist for the Operator and the Elasticsearch, collector, and Kibana components:
184
184
+
185
-
* cluster-logging-operator-cb795f8dc-xkckc
186
-
* collector-pb2f8
187
-
* elasticsearch-cdm-b3nqzchd-1-5c6797-67kfz
188
-
* elasticsearch-cdm-b3nqzchd-2-6657f4-wtprv
189
-
* elasticsearch-cdm-b3nqzchd-3-588c65-clg7g
190
-
* fluentd-2c7dg
191
-
* fluentd-9z7kk
192
-
* fluentd-br7r2
193
-
* fluentd-fn2sb
194
-
* fluentd-zqgqx
195
-
* kibana-7fb4fd4cc9-bvt4p
185
+
* cluster-logging-operator-595f9bf9c4-txrp4
186
+
* collector-29bw8
187
+
* collector-4kvnl
188
+
* collector-7rr7w
189
+
* collector-9m2xp
190
+
* collector-xt45j
191
+
* elasticsearch-cdm-g559ha9u-1-659fd594bf-pcm2f
192
+
* elasticsearch-cdm-g559ha9u-2-66455f68db-v46n6
193
+
* elasticsearch-cdm-g559ha9u-3-85696bcf55-g7tf8
194
+
* elasticsearch-im-app-27934020-9ltxl
195
+
* elasticsearch-im-audit-27934020-86cdt
196
+
* elasticsearch-im-infra-27934020-6lrgm
197
+
* kibana-5c6b7cd56-66c9l
196
198
197
199
.Troubleshooting
198
200
* If Alertmanager logs alerts such as `Prometheus could not scrape fluentd for more than 10m`, make sure that `openshift.io/cluster-monitoring` is set to `"true"` for the OpenShift Elasticsearch Operator and OpenShift Logging Operator. See the Red Hat KnowledgeBase for more information: link:https://access.redhat.com/solutions/5692801[Prometheus could not scrape fluentd for more than 10m alert in Alertmanager]
0 commit comments