Assigning Labels to an SDC Edge

You can assign labels to an SDC Edge in the following ways:

SDC Edge configuration file

Define labels in the SDC Edge configuration file, edge.conf, to assign labels that cannot be removed in the Control Hub UI. Labels assigned in the SDC Edge configuration file can only be removed by editing the SDC Edge configuration file.

Control Hub UI

Assign labels in the Control Hub UI to quickly assign labels that can also be removed using the UI.

The following image shows an SDC Edge assigned two labels. The all label was assigned in the SDC Edge configuration file, and so can only be deleted by modifying the configuration file again. The Production label was assigned in the Control Hub UI, and so can be deleted by clicking the X next to the label name.

Using the SDC Edge Configuration File

You can assign labels by defining them in the SDC Edge configuration file, edge.conf. Edit the file to assign and delete labels for an SDC Edge.

Edit the SDC Edge configuration file to assign labels for an SDC Edge that cannot be deleted using the Control Hub UI. You must edit the SDC Edge configuration file to delete labels defined in the file.

By default, the edge.conf file for each SDC Edge is configured to use an all label. Keep the default all label for each SDC Edge if you plan to start some jobs on all registered Edge Data Collectors. If you do not plan to start jobs on all registered Edge Data Collectors, then remove the default label.

  1. On the edge device, use a text editor to open the <SDCEdge_home>/etc/edge.conf file.
  2. Modify the value of the job-labels property. To assign multiple labels, enter a comma-separated list of case-sensitive labels.
    For example, to remove the default all label and to assign a Finance label and a Production label, define the property as follows:
    job-labels = ["Finance", "Production"]
  3. Restart SDC Edge to enable the changes.
    When you log in to Control Hub and view the details for this SDC Edge, you'll see the new labels.

Using the Control Hub UI

You can assign labels when you view the details of a registered SDC Edge within Control Hub. Use the UI to assign labels when you want to allow the deletion of the labels through the UI.
  1. In the Navigation panel, click Execute > Edge Data Collectors.
  2. Expand the SDC Edge details that you want to assign a label to.
  3. Under the Labels property, click Enter New Labels.
  4. Type the case-sensitive label, and then hit Enter.
    The new label displays.
    You can remove the label by clicking the X next to the label name.
  5. Click Save.