api:environments:log-forwarding-destination-create
Creates a log forwarding destination.
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:environments:log-forwarding-destination-create [--address ADDRESS] [--task-wait] [--] <environmentId> <label> <consumer> <credentials> <sources>...
acli api:environments:log-forwarding-destination-create 12-d314739e-296f-11e9-b210-d663bd873d93 "Test destination" "apache-access" "apache-error" "syslog" "{"certificate":"-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----"}"" --address="example.com:1234"acli api:environments:log-forwarding-destination-create myapp.dev "Test destination" "apache-access" "apache-error" "syslog" "{"certificate":"-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----"}"" --address="example.com:1234"Arguments
environmentId
Required
The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.
label
Required
The human-friendly identifier of the destination.
consumer
Required
The application or provider consuming the logs.
credentials
Required
Credential information.
sources
Required
The list of log sources to forward.
Defaults to
[]