One-click Traffic Blocking¶
You can block all traffic in one click, except the traffic that passes through O&M APIs, to handle unexpected traffic burst and quickly recover your cluster.
Log in to the CSS management console.
Choose Clusters in the navigation pane. On the Clusters page, locate the target cluster and click Access Kibana in the Operation column.
In the navigation pane on the left, choose Dev Tools and run commands to enable or disable one-click traffic blocking.
Enabling one-click traffic blocking
PUT /_cluster/settings { "persistent": { "flowcontrol.break.enabled": true } }
Disabling one-click traffic blocking
PUT /_cluster/settings { "persistent": { "flowcontrol.break.enabled": false } }