Run a database query
Run a database query. The query should be a JavaScript string like the ones used by RethinkDB JavaScript driver.
veidemannctl report query (QUERY-STRING | FILENAME) [ARGS ...] [flags]
-f, --filename string Filename to write to
-h, --help help for query
-o, --output string Output format (json|yaml|template|template-file) (default "json")
-p, --page int32 The page number
-s, --pagesize int32 Number of objects to get (default 10)
-t, --template string A Go template used to format the output
--api-key string If set, it will be used as the bearer token for authentication
--config string Path to the config file to use (By default configuration file is stored under $HOME/.veidemann/contexts/
--context string The name of the context to use
--log-caller include information about caller in log output
--log-format string set log format, available formats are: "pretty" or "json" (default "pretty")
--log-level string set log level, available levels are "panic", "fatal", "error", "warn", "info", "debug" and "trace" (default "info")
--server string The address of the Veidemann server to use
--server-name-override string If set, it will override the virtual host name of authority (e.g. :authority header field) in requests