Skip to content

caeops > logs

delete-labels

Description


This command helps you delete labels from a Logs Service. Run caeops logs delete-labels --help for more help.

Synopsis


  delete-labels
--name [value]
--labels [value]

Options


--name (string)

Name of Logs Service

--labels (list)

List of all the labels that you want to delete

Examples


To delete labels from a Logs Service.

The following logs delete-labels example deletes labels from Logs Service.

caeops logs delete-labels --name=name --labels=[{owner=example},{env=dev}]

Output


Logs Service Details -> (Structure)

  • serviceName -> (string)
    Name of the Logs Service
  • serviceRegion -> (string)
    Region of Logs Service
  • serviceEndpoint -> (string)
    Endpoint of the Elasticsearch Instance
  • serviceType -> (string)
    Type of the resource, logs-service for Logs Service
  • groupName -> (string)
    Name of the service group to which the Logs Service is added
  • labels -> Structure

    • key -> (string) Name of the label

    • value -> (string) Value of the label

  • createdAt -> (long)
    Creation timestamp

  • updatedAt -> (long)
    Last modified timestamp
Back to top