Skip to content

Commit a8f4b38

Browse files
committed
OBSDOCS-555: Added docs for using the logging console plug-in
1 parent 7dce67d commit a8f4b38

11 files changed

+118
-3
lines changed

_attributes/attributes-openshift-dedicated.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
:SMProductName: Red Hat OpenShift Service Mesh
2222
:pipelines-title: Red Hat OpenShift Pipelines
2323
:logging-sd: Red Hat OpenShift Logging
24+
:log-plug: logging subsystem Console Plugin
2425
:ServerlessProductName: OpenShift Serverless
2526
:rh-openstack-first: Red Hat OpenStack Platform (RHOSP)
2627
:rh-openstack: RHOSP

_attributes/common-attributes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ endif::[]
136136
:clo: Red Hat OpenShift Logging Operator
137137
:loki-op: Loki Operator
138138
:es-op: Elasticsearch Operator
139+
:log-plug: logging subsystem Console plugin
139140
//serverless
140141
:ServerlessProductName: OpenShift Serverless
141142
:ServerlessProductShortName: Serverless

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,6 +2516,8 @@ Topics:
25162516
Topics:
25172517
- Name: About log visualization
25182518
File: log-visualization
2519+
- Name: Log visualization with the web console
2520+
File: log-visualization-ocp-console
25192521
- Name: Viewing cluster dashboards
25202522
File: cluster-logging-dashboards
25212523
- Name: Log visualization with Kibana

_topic_maps/_topic_map_osd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,8 @@ Topics:
10441044
Topics:
10451045
- Name: About log visualization
10461046
File: log-visualization
1047+
- Name: Log visualization with the web console
1048+
File: log-visualization-ocp-console
10471049
- Name: Viewing cluster dashboards
10481050
File: cluster-logging-dashboards
10491051
- Name: Log visualization with Kibana

_topic_maps/_topic_map_rosa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,8 @@ Topics:
12151215
Topics:
12161216
- Name: About log visualization
12171217
File: log-visualization
1218+
- Name: Log visualization with the web console
1219+
File: log-visualization-ocp-console
12181220
- Name: Viewing cluster dashboards
12191221
File: cluster-logging-dashboards
12201222
- Name: Log visualization with Kibana

logging/cluster-logging.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ Because the internal {product-title} Elasticsearch log store does not provide se
2222

2323
include::modules/logging-architecture-overview.adoc[leveloffset=+1]
2424

25+
[role="_additional-resources"]
26+
.Additional resources
27+
* xref:../logging/log_visualization/log-visualization-ocp-console.adoc#log-visualization-ocp-console[Log visualization with the web console]
28+
2529
include::modules/cluster-logging-about.adoc[leveloffset=+1]
2630

2731
ifdef::openshift-rosa,openshift-dedicated[]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
include::_attributes/common-attributes.adoc[]
3+
include::_attributes/attributes-openshift-dedicated.adoc[]
4+
[id="log-visualization-ocp-console"]
5+
= Log visualization with the web console
6+
:context: log-visualization-ocp-console
7+
8+
toc::[]
9+
10+
You can use the {product-title} web console to visualize log data by configuring the {log-plug}.
11+
12+
For information about configuring the plugin during the {logging} installation, see xref:../../logging/cluster-logging-deploying.adoc#cluster-logging-deploy-console_cluster-logging-deploying[Installing the {logging} using the web console].
13+
14+
If you have already installed the {logging} and want to configure the plugin, use one of the following procedures.
15+
16+
include::modules/enabling-log-console-plugin.adoc[leveloffset=+1]
17+
include::modules/logging-plugin-es-loki.adoc[leveloffset=+1]

modules/cluster-logging-deploy-console.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include::snippets/logging-compatibility-snip.adoc[]
2323
+
2424
This option sets the `openshift.io/cluster-monitoring: "true"` label in the Namespace object. You must select this option to ensure that cluster monitoring scrapes the `openshift-logging` namespace.
2525

26-
. Select *stable-5.x* as the *Update channel*.
26+
. Select *stable-5.y* as the *Update channel*.
2727
+
2828
--
2929
include::snippets/logging-stable-updates-snip.adoc[]
@@ -33,7 +33,7 @@ include::snippets/logging-stable-updates-snip.adoc[]
3333
** The *Automatic* strategy allows Operator Lifecycle Manager (OLM) to automatically update the Operator when a new version is available.
3434
** The *Manual* strategy requires a user with appropriate credentials to approve the Operator update.
3535

36-
. Select *Enable* or *Disable* for the Console plugin.
36+
. Select *Enable* or *Disable* for the *Console plugin*.
3737
. Click *Install*.
3838

3939
.Verification
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * logging/log_visualization/log-visualization-ocp-console.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="enabling-log-console-plugin_{context}"]
7+
= Enabling the {log-plug} after you have installed the {clo}
8+
9+
You can enable the {log-plug} as part of the {clo} installation, but you can also enable the plugin if you have already installed the {clo} with the plugin disabled.
10+
11+
.Prerequisites
12+
13+
* You have administrator permissions.
14+
* You have installed the {clo} and selected *Disabled* for the *Console plugin*.
15+
* You have access to the {product-title} web console.
16+
17+
.Procedure
18+
19+
. In the {product-title} web console *Administrator* perspective, navigate to *Operators* -> *Installed Operators*.
20+
. Click *Red Hat OpenShift Logging*. This takes you to the Operator *Details* page.
21+
. In the *Details* page, click *Disabled* for the *Console plugin* option.
22+
. In the *Console plugin enablement* dialog, select *Enable*.
23+
. Click *Save*.
24+
. Verify that the *Console plugin* option now shows *Enabled*.
25+
. The web console displays a pop-up window when changes have been applied. The window prompts you to reload the web console. Refresh the browser when you see the pop-up window to apply the changes.

modules/logging-architecture-overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Log store:: The log store stores log data for analysis and is the default output
2020
include::snippets/logging-elastic-dep-snip.adoc[]
2121
--
2222

23-
Visualization:: You can use a UI component to view a visual representation of your log data. The UI provides a graphical interface to search, query, and view stored logs. If you are using LokiStack as the default log storage, the {product-title} web console UI is provided by enabling the {product-title} console plugin. If you are using Elasticsearch as the default log storage, you can use Kibana.
23+
Visualization:: You can use a UI component to view a visual representation of your log data. The UI provides a graphical interface to search, query, and view stored logs. The {product-title} web console UI is provided by enabling the {product-title} console plugin.
2424
+
2525
--
2626
include::snippets/logging-kibana-dep-snip.adoc[]

0 commit comments

Comments
 (0)