Add Elasticsearch as receiver (aka Collector)
KubeSphere supports using Elasticsearch, Kafka and Fluentd as log receivers. This doc will demonstrate how to add an Elasticsearch receiver.
Prerequisite
Before adding a log receiver, you need to enable any of the logging
, events
or auditing
components following Enable Pluggable Components. The logging
component is enabled as an example in this doc.
- To add a log receiver:
- Login KubeSphere with an account of platform-admin role
- Click Platform -> Clusters Management
- Select a cluster if multiple clusters exist
- Click Cluster Settings -> Log Collections
- Log receivers can be added by clicking Add Log Collector
- Choose Elasticsearch and fill in the Elasticsearch service address and port like below:
- Elasticsearch appears in the receiver list of Log Collections page and its status becomes Collecting.
- Verify whether Elasticsearch is receiving logs sent from Fluent Bit:
- Click Log Search in the Toolbox in the bottom right corner.
- You can search logs in the logging console that appears.
当前内容版权归 KubeSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 KubeSphere .