NOME
gdcloud logging rules update - Atualize uma regra de registo no espaço de nomes indicado.
SYNOPSIS
gdcloud logging rules update LOGGING_RULE_NAME [flags]
EXEMPLOS
To update a logging rule using flags, run:
gdcloud logging rules update logging-rule-name \
--namespace=sample_namespace \
--source=audit \
--interval=30s \
--record-rules=/sample/path/record_rules.yaml \
--alert-rules=/sample/path/alert_rules.yaml
To update a logging rule using YAML file, run:
gdcloud logging rules update logging-rule-name --file=/path/to/file.yaml
SINALIZADORES OPCIONAIS
--alert-rules string Path to a file containing YAML configuration for log alert rules.
--file string Path to a file containing YAML configuration for logging rules. If this flag is enabled, do not use other flags (--namespace, --source, --interval, --limit, --record-rules, --alert-rules).
--interval string Frequency of alert rule evaluation. Value must have unit of time (s for seconds, m for minutes, h for hour).
--limit int Limit on the number of alerts (0: no limit). The default value is 0. (default -1)
--namespace string Namespace of the logs that rules are based on. If the --file flag is not used, this flag is required.
--record-rules string Path to a file containing YAML configuration for recording rules.
GDCLOUD WIDE FLAGS
Estas marcas estão disponíveis para todos os comandos: --configuration, --format, --help, --project e --quiet.
Para mais informações, consulte a página Vista geral da referência da CLI gdcloud.