epi log export command
Get logs for the specified project.
Usage
epi log export [OPTIONS] --environment <ENVIRONMENT>
Examples
Export logs from the Integration environment for the last 2 days. This command retrieves logs from a specific project and environment within a defined time range, using timezone offset and parallel processing for efficient log extraction.
epi log get \
--project my-project \
--env Integration \
--from-last-days 2 \
--from-last-hours 0 \
--to-last-days 0 \
--to-last-hours 0 \
--timezone 7 \
--thread-count 32
Options
-p, –project <PROJECT>
The project name.
–environment <ENVIRONMENT>
The environment name.
Aliases: env.
Possible values: integration, preproduction, production, ade1, ade2.
-u, –url <URL>
The SAS link contains access to storage account.
Aliases: sas-link, sas-url.
–from-last-days <FROM_LAST_DAYS>
From N days ago.
Default: 0.
Aliases: fld.
–from-last-hours <FROM_LAST_HOURS>
From N hours ago.
Default: 2.
Aliases: flh.
–to-last-days <TO_LAST_DAYS>
To N days ago.
Default: 0.
Aliases: tld.
–to-last-hours <TO_LAST_HOURS>
To N hours ago.
Default: 0.
Aliases: tlh.
–timezone-hours <TIMEZONE_HOURS>
The target timezone offset in hours.
Aliases: timezone, tz.
–thread-count <THREAD_COUNT>
The number of threads to use for processing logs.
Default: 32.
-h, –help
Print help.