CSS Clusters Have Slow Query Log Enabled
Rule Details
Parameter |
Description |
---|---|
Rule Name |
css-cluster-slowLog-enable |
Identifier |
css-cluster-slowLog-enable |
Description |
If a CSS cluster does not have slow query log enabled, this cluster is noncompliant. |
Tag |
css |
Trigger Type |
Configuration change |
Filter Type |
css.clusters |
Configure Rule Parameters |
None |
Applicable Scenario
Elasticsearch and OpenSearch clusters provide deprecation logs, run logs, index slow logs, and search slow logs for users to trouble shoot related issues. For details, see Querying and Managing Elasticsearch Cluster Logs.
Solution
By default, CSS clusters provide slow query logs. If you need longer storage, you can dump the logs in to an OBS bucket. For details, see Modifying Basic Log Configurations.
Rule Logic
- If a CSS cluster has slow query log disabled, this cluster is noncompliant.
- If a CSS cluster has slow query log enabled, this cluster is compliant.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot