# Container Logs

## 1. Inquiry Log

Logging - Container Logs - Select a namespace from the Namespaces to view list.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FvZETIDnTvDftgP1murPf%2Fimage.png?alt=media&#x26;token=a1b5b6aa-c966-4078-9d39-c5e0c67451ba" alt=""><figcaption></figcaption></figure>

**`View By Hour`** : You can search logs from the last 5 minutes to 48 hours ago, and check logs from up to 2 weeks ago.

**`Namespace`** :  You can view a list of all namespaces that exist in that cluster.

**`View More`** : Get logs since the last time in the list.

**`Current number of logs`** **`/`** **`Total number of logs`** : This refers to the total number of logs viewed at that time and the maximum number of logs.

{% hint style="info" %}
The maximum number of logs that can be viewed at one time is 5000. The inquiry period is up to 7 days.&#x20;
{% endhint %}

{% hint style="info" %}
The Show More button is displayed when the total number of logs exceeds 5000.
{% endhint %}

## 2. View log details

Click the link button for the log viewed by time to check detailed information about the log.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FDYgt25tGb0t9zaBPNPbx%2Fimage.png?alt=media&#x26;token=14458b37-b163-48ad-b2ed-26a889759374" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2Fuurztc5xXa4KU1Ka55UR%2Fimage.png?alt=media&#x26;token=6a4b08b3-cf43-40a5-beb9-16402acdb301" alt=""><figcaption></figcaption></figure>

**`Log Message`** : You can check the contents of the log that actually occurred.

**`Label Information`** : Click the + button to expand and view label information.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FgV5MHHuLXB62mvXaZUKk%2Fimage.png?alt=media&#x26;token=10392029-a5bd-470e-8f30-2316e8a6dee8" alt=""><figcaption></figcaption></figure>

**`Label information`**: You can close the expanded label information by clicking the - button.

## 3.  View logs by time

If you click on each graph once, you can check the log for that time, and **if you click again**, you can check the log for the entire time again.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2F6N0eHgiYWQnDqxNGHW9r%2Fimage.png?alt=media&#x26;token=f22ec8b9-e5ac-43ce-87d3-39f691941273" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FTwBZuSmErILpS5vozr3H%2Fimage.png?alt=media&#x26;token=fc93b099-5041-4b8f-b9f2-1f4f2bf232b6" alt=""><figcaption></figcaption></figure>

**`Click on the graph`**: You can see that there are 2,687 logs of the current time.

## 4. Inquiry Label

Click the arrow button on the right to see the set of labels for the logs present at that time.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FIM7M9Th3u3xCzfjHlxyQ%2Fimage.png?alt=media&#x26;token=73c28789-84ce-47bf-99a5-865fec544757" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FiOkOgDHBiSRLBOkoXln0%2Fimage.png?alt=media&#x26;token=5aff5f3a-66ff-4fae-99e1-5c7a620d30c0" alt=""><figcaption></figcaption></figure>

**`label list key`** : Indicates a list of labels for viewed logs. You can check the label value by clicking the label button.

**`label list values`** : Click the label value to search for the log you want to find by adding the conditions you want to search through AND search.

**`Selected label value`** : When you add a label condition, the condition is added to the top of the graph, and you can search by clicking the X button to remove the condition.

## 5. Search Log

Enter the keyword you want to search for and click the search button to view the log for the search term.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2Fm8CnTSwXKLEGgXbxSRBR%2Fimage.png?alt=media&#x26;token=0716494e-6751-4431-961b-77281862943f" alt=""><figcaption></figcaption></figure>

**`Search word`** : You can search logs where the string exists regardless of case.

## 6. Download Log

Click the “Download” button at the top of the graph to download the log.

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FxbsAVCDebRfohk0EAD4V%2Fimage.png?alt=media&#x26;token=348304f7-e509-4948-a7eb-835815dcf36a" alt=""><figcaption></figcaption></figure>

**`Download`**: You can download log data for up to 5,000 searched logs in Excel file format. Each column contains a label value
