Environment
- YugabyteDB Anywhere (platform) - All versions
Issue
- You are unable to log on to the nodes, but you have access to the UI and you need the logs.
Resolution
Overview
In order to get the logs you require from the UI, there are a number of different methods to follow.
Steps
1) Get the logs from the 'Logs' entry in the dropdown menu:
Navigate to YBAnywhere
Select the person dropdown menu on the top right of the window
Select 'Logs' and you will see the application logs.
Note that you can select a particular universe, limit the number of lines shown and search for a particular expression using regex.
2) Get the logs for each Master/Tserver:
To get the log files from the Master/TServer, select 'Universes' then 'Nodes' and click on the 'Actions' drop down for the node you would like
Click on 'Download Logs' from the dropdown and accept downloads if required.
A compressed file will be stored to your disk called <IP ADDRESS>-logs[-n].tar where IP ADDRESS is the IP address of the server, and -n is a number of you have downloaded the file a number of times.
When you uncompress the file, you will see directories for 'master' and 'tserver', under which will be a logs directory containing the relevant log files.
Additional Information
Support bundle:
In more recent versions, you can select to use SupportBundle, which will download all log files from all nodes into one compressed file, which can then be locally checked.
Details of SupportBundle may be found at:
Comments
0 comments
Please sign in to leave a comment.