Skip to content

Commit 6b19e33

Browse files
committed
RHDEVDOCS-2679 Document "Move Elasticsearch Operator from Operator maturity level 3 to 4"
1 parent 98fe815 commit 6b19e33

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

logging/troubleshooting/cluster-logging-log-store-status.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:context: cluster-logging-elasticsearch
22
[id="cluster-logging-log-store-status"]
3-
= Viewing the status of the log store
3+
= Viewing the status of the Elasticsearch log store
44
include::modules/common-attributes.adoc[]
55

66
toc::[]
@@ -16,3 +16,5 @@ You can view the status of the OpenShift Elasticsearch Operator and for a number
1616
include::modules/cluster-logging-log-store-status-viewing.adoc[leveloffset=+1]
1717

1818
include::modules/cluster-logging-log-store-status-comp.adoc[leveloffset=+1]
19+
20+
include::modules/ref_cluster-logging-elasticsearch-cluster-status.adoc[leveloffset=+1]
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
:_module-type: REFERENCE
2+
3+
[id="ref_cluster-logging-elasticsearch-cluster-status_{context}"]
4+
= Elasticsearch cluster status
5+
6+
[role="_abstract"]
7+
The Grafana dashboard in the *Monitoring* section of the {product-title} web console displays the status of the Elasticsearch cluster.
8+
9+
To get the status of the OpenShift Elasticsearch cluster, visit the Grafana dashboard in the *Monitoring* section of the {product-title} web console at
10+
`<cluster_url>/monitoring/dashboards/grafana-dashboard-cluster-logging`.
11+
12+
.Elasticsearch status fields
13+
14+
`eo_elasticsearch_cr_cluster_management_state`:: Shows whether the Elasticsearch cluster is in a managed or unmanaged state. For example:
15+
+
16+
[source,terminal]
17+
----
18+
eo_elasticsearch_cr_cluster_management_state{state="managed"} 1
19+
eo_elasticsearch_cr_cluster_management_state{state="unmanaged"} 0
20+
----
21+
22+
`eo_elasticsearch_cr_restart_total`:: Shows the number of times the Elasticsearch nodes have restarted for certificate restarts, rolling restarts, or scheduled restarts. For example:
23+
+
24+
[source,terminal]
25+
----
26+
eo_elasticsearch_cr_restart_total{reason="cert_restart"} 1
27+
eo_elasticsearch_cr_restart_total{reason="rolling_restart"} 1
28+
eo_elasticsearch_cr_restart_total{reason="scheduled_restart"} 3
29+
----
30+
31+
`es_index_namespaces_total`:: Shows the total number of Elasticsearch index namespaces. For example:
32+
+
33+
[source,terminal]
34+
----
35+
Total number of Namespaces.
36+
es_index_namespaces_total 5
37+
----
38+
39+
`es_index_document_count`:: Shows the number of records for each namespace. For example:
40+
+
41+
[source,terminal]
42+
----
43+
es_index_document_count{namespace="namespace_1"} 25
44+
es_index_document_count{namespace="namespace_2"} 10
45+
es_index_document_count{namespace="namespace_3"} 5
46+
----
47+
48+
.The "Secret Elasticsearch fields are either missing or empty" message
49+
50+
If Elasticsearch is missing the `admin-cert`, `admin-key`, `logging-es.crt`, or `logging-es.key` files, the dashboard shows a status message similar to the following example:
51+
52+
[source,terminal]
53+
----
54+
message": "Secret \"elasticsearch\" fields are either missing or empty: [admin-cert, admin-key, logging-es.crt, logging-es.key]",
55+
"reason": "Missing Required Secrets",
56+
----

0 commit comments

Comments
 (0)