docs-v2/content/shared/influxdb3-cli/enable/trigger.md

1.5 KiB

The influxdb3 enable trigger command enables a trigger to enable plugin execution.

Usage

influxdb3 enable trigger [OPTIONS] --database <DATABASE_NAME> <TRIGGER_NAME>

Arguments:

  • TRIGGER_NAME: Name of the trigger to enable

Options

Option Description
-H --host Host URL of the running {{< product-name >}} server (default is http://127.0.0.1:8181)
-d --database ({{< req >}}) Name of the database to operate on
--token ({{< req >}}) Authentication token
--tls-ca Path to a custom TLS certificate authority (for testing or self-signed certificates)
-h --help Print help information
--help-all Print detailed help information

Option environment variables

You can use the following environment variables to set command options:

Environment Variable Option
INFLUXDB3_HOST_URL --host
INFLUXDB3_DATABASE_NAME --database
INFLUXDB3_AUTH_TOKEN --token