The help for the influx cli task run list subcommands lists two options --before and --after to filter task run logs. These flags do not filter the run log and there is not warning or error or help that these flags don't work with the run list command.
The help says
--before value runs before this time
--after value runs after this time
My task runs every 5 minutes, generating 288 runs per day. Since the --limit option has an (undocumented) max of 500, I can only see about 41.7 hours of the most recent task runs.
How do I see older task history?
Here is the full help output
> influx task run list -h
NAME:
influx task run list - List runs for a tasks
USAGE:
influx task run list [command options] [arguments...]
COMMON OPTIONS:
--host value HTTP address of InfluxDB [$INFLUX_HOST]
--skip-verify Skip TLS certificate chain and host name verification [$INFLUX_SKIP_VERIFY]
--configs-path value Path to the influx CLI configurations [$INFLUX_CONFIGS_PATH]
--active-config value, -c value Config name to use for command [$INFLUX_ACTIVE_CONFIG]
--http-debug
--json Output data as JSON [$INFLUX_OUTPUT_JSON]
--hide-headers Hide the table headers in output data [$INFLUX_HIDE_HEADERS]
--token value, -t value Token to authenticate request [$INFLUX_TOKEN]
OPTIONS:
--task-id value task ID (required)
--run-id value run id
--before value runs before this time
--after value runs after this time
--limit value limit the results (default: 100)
> influx version
Influx CLI dev (git: none) build_date: 2022-07-13T21:18:19Z
I built it from commit c44d2f232baface332f2957a9c49d84eb86b8093.
The help for the influx cli
task run list
subcommands lists two options--before
and--after
to filter task run logs. These flags do not filter the run log and there is not warning or error or help that these flags don't work with therun list
command.The help says
My task runs every 5 minutes, generating 288 runs per day. Since the
--limit
option has an (undocumented) max of 500, I can only see about 41.7 hours of the most recent task runs.How do I see older task history?
Here is the full help output
I built it from commit
c44d2f232baface332f2957a9c49d84eb86b8093
.cloud2 documentation: https://docs.influxdata.com/influxdb/cloud/process-data/manage-tasks/task-run-history/