dcloud monitoring logs filterSearch an app’s log lines, newest first
start defaults to a day before end, end to now. contains is a case-insensitive substring. limit is at most 1000. Logs are kept 7 days.
Synopsis
dcloud monitoring logs filter --resource-id resourceId [flags]Flags
--resource-typeOptionalenum
What ships the logs: app (default), schedule, function, event_rule, load_balancer or cdn_distribution
One of:
app,schedule,function,event_rule,load_balancer,cdn_distribution--resource-idRequiredstring
Its id, a uuid. An id the organization does not have answers no lines, not 404
Constraints: uuid
--startOptionalstring
ISO 8601; a day before end when omitted. Must not be after end
--endOptionalstring
ISO 8601; now when omitted
--containsOptionalstring
Only lines containing this, case-insensitive; up to 200 characters, % and _ literal
--streamOptionalstring
Only this stream, exactly (an app’s are <service>/stdout and <service>/stderr); up to 100 characters
--limitOptionalnumber
Lines to return, newest first, 1–1000 (default 200)
Constraints: integer
Example
dcloud monitoring logs filter --resource-id 00000000-0000-0000-0000-000000000000Generated from the API description, the same one the API checks requests against and the CLI is built from.