PUT _cluster/settings { "persistent": { "css.monitoring.index.enabled": "true" } }
PUT _cluster/settings { "persistent": { "css.monitoring.index.enabled": "true", "css.monitoring.index.interval": "30s", "css.monitoring.index.indices": ["index_name"], "css.monitoring.history.duration": "3d" } }
Parameter |
Data Type |
Description |
---|---|---|
css.monitoring.index.enabled |
Boolean |
Whether to enable index monitoring. If this parameter is set to true, the monitoring will be enabled. Default value: false |
css.monitoring.index.interval |
Time |
Interval for collecting index monitoring data. Minimum value: 1s Default value: 10s |
css.monitoring.index.indices |
String |
Name of an index to be monitored. By default, all indexes are monitored. You can configure specific indexes or a type of indexes to monitor. Example:
Default value: * (indicating that all indexes are monitored) |
css.monitoring.history.duration |
Time |
Retention period of monitoring data storage. The default period is a week. Minimum value: 1d Default value: 7d |
Indexes starting with monitoring-eye-css-* are regarded as monitoring indexes and will not be monitored.