Edit Log Receiver Settings
This section describes how to edit log receiver settings.
Prerequisites
-
You need to join a cluster and have the cluster-admin permission in the cluster. For more information, see Cluster Members and Cluster Roles.
-
A log receiver has been added.
Steps
-
Log in to the KubeSphere web console with a user who has cluster-admin permissions and enter your cluster.
-
Click Logging > Log Receivers in the left navigation pane.
-
On the Log Receivers page, click Container Logs, Resource Events, Audit Logs, or Notification History, then click the name of a log receiver in the list to open its details page.
-
On the log receiver details page, click Operation > Edit.
-
In the dialog box that pops up, modify the settings of the log receiver, then click OK.
Parameter Description Service Address
The service address and port of the log receiver. KubeSphere will send logs to this address and port. The default OpenSearch service address and port used by KubeSphere are opensearch-cluster-data.kubesphere-logging-system.svc:9200.
Index Prefix
The index prefix for log data, used to distinguish between different types of logs. Only available for Elasticsearch and OpenSearch.
Topic
The topic for log data, used to distinguish between different types of logs. Only available for Kafka.
Note After modification, ensure that the
endpointsunder each component configuration in the extension configuration of the WizTelemetry Platform Service are consistent with the modified service address, so that the KubeSphere platform can correctly query log data. For more information, please refer to the details page description of the "WizTelemetry Platform Service" extension in the Extensions Center.