serviced log export

The serviced log export command exports application log files from Logstash for one or more services based on service identifier or service name. By default, the command exports a tar archive file, which contains a separate log file for each unique combination of container and log file name, and an index file summarizing the log files.

USAGE

serviced log export [arguments...]

OPTIONS

--from Date
The start date, in yyyy.mm.dd format. The default is yesterday's date.
--to Date
The end date, in yyyy.mm.dd format. The default is today's date.
--service Service [--service Service]
The name or ID of one or more services. By default, all child services are included.
--file Path [--file Path]
The path or paths of one or more application logs to export.
--out Path
The location for the output file. The default is the current directory.
[--debug|--d]
Display diagnostic messages.
--group-by Group
Group the results. The value of Group can be container, service, or day.
[--no-children|--n]
Do not export child services.

EXAMPLE

serviced log export --service zope --service zenhub --group-by day \
  --from 2017.05.01 --to 2017.05.31 --out /tmp