Search

vcli apilog

Get API logs

Synopsis

Show the API log entries. It is possible to filter by type and ID.

Examples:

vcli apilog ls
vcli apilog ls -f traceId="1dA*"
vcli apilog ls -f msg="*error*"
vcli apilog ls -f created_at="*13:37*"
vcli apilog [flags]

Options

      --accept-empty            When used with a filter, do not return an error if no items are found or affected
  -a, --aggregation string      Level of aggregated data (1m, 10m, 1h, 1d, 1mo)
  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for apilog
      --raw                     Raw API output

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO

  • vcli - Varnish Controller CLI

®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203