Acquia CLI

api:environments:log-forwarding-destination-update

Updates an environment's 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-update [--label LABEL] [--credentials CREDENTIALS] [--address ADDRESS] [--sources SOURCES] [--task-wait] [--] <environmentId> <logForwardingDestinationUuid> <consumer>
acli api:environments:log-forwarding-destination-update 12-d314739e-296f-11e9-b210-d663bd873d93 dbd8a966-2b25-11e9-b210-d663bd873d93 --label="Test destination" --sources="apache-access" --sources="apache-error" "syslog" --credentials="{"certificate":"-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----"}"" --address="example.com:1234"
acli api:environments:log-forwarding-destination-update myapp.dev dbd8a966-2b25-11e9-b210-d663bd873d93 --label="Test destination" --sources="apache-access" --sources="apache-error" "syslog" --credentials="{"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.

  • logForwardingDestinationUuid

    Required

    The entity's universally unique identifier.

  • consumer

    Required

    The application or provider consuming the logs.

Options

  • --label

    Required

    The human-friendly identifier of the destination.

  • --credentials

    Required

    Credential information.

  • --address

    Required

    The URL or host name and port of the destination.

  • --sources

    Required

    The list of log sources to forward.

    Defaults to []

  • --task-wait

    Optional

    Wait for this task to complete

    Defaults to false

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Acquia Help

Filter by product:

Common questions