On this page
meshctl logs
Reference for the ‘meshctl logs’ command.
meshctl logs
Print all Gloo Platform logs or logs for a specific component.
Synopsis
Print Gloo Platform logs or logs for a specific component. Optionally specify a log level to filter by. Possible target components are:
- Gloo management server: “mgmt”, “management”
- UI: “ui”
- Gloo Mesh Agent: “agent”
- ext-auth: “ext-auth”
- rate-limiter: “rate-limiter”
- telemetryCollector: “telemetryCollector”
- telemetryGateway: “telemetryGateway” Example: meshctl logs -l warn –since 2h meshctl logs agent
meshctl logs TARGET [-l LOGLEVEL] [--since DURATION] [flags]
Options
--addons-namespace string Gloo Mesh addons namespace. (default "gloo-mesh-addons")
-h, --help help for logs
-l, --level string filter logs by a specific log level (default "all")
--since duration Only return logs newer than a relative duration like 5s, 2m, or 3h. Defaults to 24h. (default 24h0m0s)
Options inherited from parent commands
--kubeconfig string Path to the kubeconfig file for the cluster.
--kubecontext string Kubernetes context for the cluster to run the command in.
-n, --namespace string Namespace to run the command in. (default "gloo-mesh")
--plain Disable styling for terminal output.
-v, --verbose Enable verbose logging.
SEE ALSO
- meshctl - The Command Line Interface for managing Gloo Mesh in your environment.