caeops > logs-analyzer
create¶
Description¶
This command helps to create a logs analyzers service for the given data sources.
Run caeops logs-analyzers create --help
for more help.
Synopsis¶
create
--name [value]
--data-sources [value]
Options¶
--name (string)
Name of the analyzer
--data-sources (string)
Name of resource for which you want to deploy logs analyzer
Examples¶
To deploy logs analyzer.
The following logs-analyzers create
example deploys logs analyzer.
caeops logs-analyzers create --name=test-analyzer --data-sources=[{logs=some-logs-service}]
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