-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove duplicated content, collate install docs
- Loading branch information
1 parent
f481306
commit 097e4bc
Showing
26 changed files
with
184 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../_attributes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
:_mod-docs-content-type: ASSEMBLY | ||
include::_attributes/common-attributes.adoc[] | ||
include::_attributes/attributes-openshift-dedicated.adoc[] | ||
[id="about-log-storage"] | ||
= About log storage | ||
:context: about-log-storage | ||
|
||
toc::[] | ||
|
||
You can use an internal Loki or Elasticsearch log store on your cluster for storing logs, or you can use a xref:../../logging/log_collection_forwarding/log-forwarding.adoc#logging-create-clf_log-forwarding[`ClusterLogForwarder` custom resource (CR)] to forward logs to an external store. | ||
|
||
[id="log-storage-overview-types"] | ||
== Log storage types | ||
|
||
Loki is a horizontally scalable, highly available, multi-tenant log aggregation system offered as an alternative to Elasticsearch as a log store for the {logging}. | ||
|
||
Elasticsearch indexes incoming log records completely during ingestion. Loki only indexes a few fixed labels during ingestion and defers more complex parsing until after the logs have been stored. This means Loki can collect logs more quickly. | ||
|
||
include::modules/cluster-logging-about-es-logstore.adoc[leveloffset=+2] | ||
|
||
[id="log-storage-overview-querying"] | ||
== Querying log stores | ||
|
||
You can query Loki by using the link:https://grafana.com/docs/loki/latest/logql/[LogQL log query language]. | ||
|
||
[role="_additional-resources"] | ||
[id="additional-resources_log-storage-overview"] | ||
== Additional resources | ||
* link:https://grafana.com/docs/loki/latest/get-started/components/[Loki components documentation] | ||
* link:https://loki-operator.dev/docs/object_storage.md/[Loki Object Storage documentation] |
20 changes: 1 addition & 19 deletions
20
logging/cluster-logging-loki.adoc → ...ing/log_storage/cluster-logging-loki.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../images/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
:_mod-docs-content-type: ASSEMBLY | ||
include::_attributes/common-attributes.adoc[] | ||
include::_attributes/attributes-openshift-dedicated.adoc[] | ||
[id="installing-log-storage"] | ||
= Installing log storage | ||
:context: installing-log-storage | ||
|
||
toc::[] | ||
|
||
You can use the {oc-first} or the {product-title} web console to install a log store on your {product-title} cluster. | ||
|
||
include::snippets/logging-elastic-dep-snip.adoc[] | ||
|
||
[id="installing-log-storage-loki"] | ||
== Installing a Loki log store | ||
|
||
You can use the {loki-op} to install an internal Loki log store on your {product-title} cluster. | ||
|
||
include::modules/loki-deployment-sizing.adoc[leveloffset=+2] | ||
include::modules/logging-loki-gui-install.adoc[leveloffset=+2] | ||
include::modules/logging-loki-cli-install.adoc[leveloffset=+2] | ||
|
||
[id="installing-log-storage-es"] | ||
== Installing an Elasticsearch log store | ||
|
||
You can use the {es-op} to install an internal Elasticsearch log store on your {product-title} cluster. | ||
|
||
include::snippets/logging-elastic-dep-snip.adoc[] | ||
include::modules/logging-es-storage-considerations.adoc[leveloffset=+2] | ||
include::modules/logging-install-es-operator.adoc[leveloffset=+2] | ||
include::modules/cluster-logging-deploy-cli.adoc[leveloffset=+2] | ||
|
||
// configuring log store in the clusterlogging CR | ||
include::modules/configuring-log-storage-cr.adoc[leveloffset=+1] |
19 changes: 10 additions & 9 deletions
19
...ing/config/cluster-logging-log-store.adoc → .../log_storage/logging-config-es-store.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../snippets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.