Skip to content

caeops > logs-analyzer

update

Description


This command helps to update logs analyzer's data sources. Run caeops logs-analyzers update --help for more help.

Synopsis


  update
--name [value]
--data-sources [value]

Options


--name (string)

Name of the analyzer

--data-sources (string)

Name of resource for which you want to update logs analyzer

Examples


To update data sources of a logs analyzer.

The following logs-analyzers update example updates data sources of a logs analyzer.

caeops logs-analyzers update --name=examplename --data-sources=[{logs=example1},{logs=example2}]

Output


Logs analyzer details -> (structure)

  • serviceName -> (string)
    Name of the logs analyzer
  • serviceType -> (string)
    Type of the service (e.g logs-analyzer, metrics-analyzer)
  • groupName -> (string)
    Name of the service group to which the logs-analyzer is added
  • dataSources -> (structure)
    List of the data sources and their type(e.g {"logs":"some-logs-service"})
  • createdAt -> (long)
    Creation timestamp
  • updatedAt -> (long)
    Last modified timestamp
Back to top