api:environments:log-create
Creates a log file snapshot.
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-create [--from FROM] [--to TO] [--] <environmentId> <logType>
acli api:environments:log-create 12-d314739e-296f-11e9-b210-d663bd873d93 php-error --from="2021-01-28T22:45:21.000Z" --to="2021-01-29T23:55:21.000Z"
acli api:environments:log-create myapp.dev php-error --from="2021-01-28T22:45:21.000Z" --to="2021-01-29T23:55:21.000Z"
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.
logType
Required
An ID that uniquely identifies a log type.
Options
--from
Required
An ISO-8601 formatted date retrieve results from. Date ranges are only supported on Acquia Cloud Next.
--to
Required
An ISO-8601 formatted date retrieve results to. Date ranges are only supported on Acquia Cloud Next.
--help | -h
Optional
Display help for the given command. When no command is given display help for the `list` command