Skip to content

caeops > logs

add-to-group

Description


This command helps you add Logs Service to a group. Run caeops logs add-to-group --help for more help.

Synopsis


  add-to-group
--name [value]
--group-name [value]

Options


--name (string)

Name of Logs Service

--group-name (string)

Name of group in which you want to add the Logs Service

Examples


To add Logs Service to a group.

The following logs add-to-group example adds labels to a Logs Service.

caeops logs add-to-group --name=name --group-name=example

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