Removing a Node

There may come a time when you need to remove a node from your distributed deployment. To do this, log into your manager and list all Salt keys:

sudo salt-key

Then remove the node by deleting its key from Salt (replacing nodename with the actual node name):

sudo salt-key -d nodename

Remove the node from Grafana, by removing the reference in /opt/so/saltstack/local/pillar/data/sensorstab.sls, and the file in /opt/so/conf/grafana/grafana_dashboards/sensor_nodes/ <hostname>-Node.json on the manager, then restart Grafana with:

sudo so-grafana-restart

Remove search node

If you are removing a search node, you will want to remove it from cross cluster search. In Kibana, navigate to Dev Tools and paste the following text into the window (replacing nodename with the actual node name):

PUT _cluster/settings
  "persistent": {
    "search": {
      "remote": {
        "nodename": {
          "skip_unavailable": null,

Click the play button to send the request to Elasticsearch.