Skip to content

Commit 6e1f209

Browse files
doc: Add logging documentation
1 parent b575899 commit 6e1f209

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
= Log aggregation
2+
:description: The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent.
3+
4+
The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent:
5+
6+
[source,yaml]
7+
----
8+
spec:
9+
clusterConfig:
10+
vectorAggregatorConfigMapName: vector-aggregator-discovery
11+
nodes:
12+
config:
13+
logging:
14+
enableVectorAgent: true
15+
containers:
16+
opensearch:
17+
console:
18+
level: INFO
19+
file:
20+
level: INFO
21+
loggers:
22+
ROOT:
23+
level: INFO
24+
vector:
25+
console:
26+
level: INFO
27+
file:
28+
level: INFO
29+
loggers:
30+
ROOT:
31+
level: INFO
32+
----
33+
34+
Further information on how to configure logging, can be found in xref:concepts:logging.adoc[].

docs/modules/opensearch/partials/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
** xref:opensearch:usage-guide/storage-resource-configuration.adoc[]
88
** xref:opensearch:usage-guide/configuration-environment-overrides.adoc[]
99
** xref:opensearch:usage-guide/monitoring.adoc[]
10+
** xref:opensearch:usage-guide/logging.adoc[]
1011
** xref:opensearch:usage-guide/operations/index.adoc[]
1112
*** xref:opensearch:usage-guide/operations/cluster-operations.adoc[]
1213
*** xref:opensearch:usage-guide/operations/pod-placement.adoc[]

0 commit comments

Comments
 (0)