Skip to main content

Wayfinder Instance Logs

troubleshooting tools

info

Wayfinder's administrators can perform these steps.


Wayfinder offers easy time-bound access to logs, enabling you to troubleshoot both Wayfinder and the pods/containers within the Kubernetes clusters that Wayfinder manages.

Your access to Wayfinder's troubleshooting logs is determined by both your user type and the assigned access policy as follow:

  • Wayfinder's instance logs: Administrators only

CLI Instructions

Use the wf logs command to retrieve the logs from Wayfinder's control plane.

You can get the logs for all components or a specified component as outlined in the sections below.


All component logs

In the following example you'll get the log output to console for all components. Use the -f flag to follow the activities as they're being logged. Use Control + C to stop the log output.

Follow Logs


wf logs --all-components -f 

Specific component logs

You can specify for which component you want the log files for.

Wayfinder supports the following:

  • Controllers: Wayfinder's control plane which interacts with your cloud infrastructure
  • API: Wayfinder's API which the CLI and web interface interact with
  • Webhooks: Wayfinder's validation and mutation handlers which check if new and updated resources are valid
  • Portal: Events from Wayfinder's web interface
  • KubeProxy: Wayfinder's proxy for user access to managed Kubernetes clusters

In the following example you'll get the logs for the API component. Use the -t flag to specify the number of entries from the tail-end of the log to retrieve.

Tail Logs


wf logs -c api -t 5


Web Interface Instructions



Within Wayfinder's web interface:

  • Navigate to Admin and then select Troubleshooting
  • You are presented with Wayfinder's logs
  • Update the properties to view and manipulate the log's contents

Logs

Wayfinder Logs

Logs with filter

Wayfinder Logs - Error


Log properties

The properties below are available to you when you're in the Logs view.

FieldDescription
ComponentThe component which is producing the logs. Available to administrators when viewing logs of Wayfinder's instance

Option(s):
- Controllers: Wayfinder's control plane which interacts with your cloud infrastructure
- API: Wayfinder's API which the CLI and web interface interact with
- Webhooks: Wayfinder's validation and mutation handlers which check if new and updated resources are valid
- Portal: Events from Wayfinder's web interface
- KubeProxy: Wayfinder's proxy for user access to managed Kubernetes clusters
- All: View all logs
ContainerThe container you wish to view the logs of. Available when viewing logs at the cluster level

Option(s):
- [Various]: All the containers specified in the pod specification will be available to choose from, so the values will depend on what you are running.
FollowWhen checked, you will see real-time updates to the log you're viewing. Uncheck to pause updates.
TailNumber of lines to show from tail end of log
FilterText to filter on e.g, 'error' will show all lines in the log containing the word 'error'
RefreshGet the latest set of logs


What comes next?

See how to access: