Search
Varnish Controller

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

  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for apilog

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