The Logs tab of a Load Balancer shows what the Load Balancer has written, so you can look into a problem from inside the portal. You can narrow the lines, refresh them on a timer, and download them.
Before you begin
Section titled “Before you begin”- A Load Balancer that has finished creating, because a Load Balancer that is still Initializing shows only its creation progress. See Create a Load Balancer.
- The read permission on the Load Balancer service. See TIR Access Control.
Read the logs
Section titled “Read the logs”- In the side menu, under Compute, select Load Balancer, then select the Load Balancer’s name.
- Select the Logs tab.
The tab holds a snapshot of the logs, taken at the time given. To load the latest lines, select Refresh.
Narrow and refresh the lines
Section titled “Narrow and refresh the lines”- To find a word in the lines already loaded, type it in Filter lines…. The filter ignores capital letters.
- To load fewer lines, open Filter By and choose Last N Lines or Last N Seconds, then enter a whole number of at least 1 in Value of N.
- To reload on a timer, open Auto Refresh and choose 5 Seconds, 10 Seconds, 30 Seconds, or 1 Minute.
Download the logs
Section titled “Download the logs”Select Download logs. TIR loads the logs again with your current Filter By
choice and saves them as a JSON file named after the Load Balancer, ending in -logs.json.
If the tab says “No logs yet”, the Load Balancer has yet to run and handle traffic; logs appear once it has.
To see traffic as charts instead, read Monitor a Load Balancer. For help with a message, see Troubleshooting TIR Load Balancer.