Managing
Also available as:
PDF

Delete a Sensor

You can delete a sensor if you don't need it.

You must take the sensor offline before deleting it.
  1. In the Ambari user interface, click the Services tab.
  2. Click Metron from the list of services.
  3. Click Configs and then click Parsers.


  4. Delete the name of the parser you want to delete from the Metron Parsers field.
  5. Display the Management module.
  6. Select the check box next to the appropriate sensor in the Sensors table.
    You can delete more than one sensor by clicking multiple check boxes.
  7. From the Actions menu, select Delete.
    The Management module deletes the sensor from ZooKeeper.
  8. Finally, delete the json file for the sensor on the Ambari master node:
    ssh $AMBARI_MASTER_NODE
    cd $METRON_HOME/config/zookeeper/parser
    rm $DATASOURCE.json