# Working with Log search

## Overview <a href="#lamviecvoilogsearch-tongquan" id="lamviecvoilogsearch-tongquan"></a>

Log Search is where you search and analyze your data. With Log search, we provide you with features including:

* Search, filter, visualize, and analyze logs from all your services, applications, and systems. (Search logs)
* Export logs data. (Export logs)

***

## Search and analyze logs <a href="#lamviecvoilogsearch-timkiemvaphantichlogs" id="lamviecvoilogsearch-timkiemvaphantichlogs"></a>

To perform log search and analysis, follow the instructions below:

1. Log in to <https://hcm-3.console.vngcloud.vn/vmonitor> . Select **Log.**
2. Select **Log search** .
3. Select which **Log project** you need to view and analyze logs. The location to select the project log is displayed as shown below:

<figure><img src="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-c96bfd4f29633627dfd82e80fb0d77bf4f218bfe%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

In there:

<table data-header-hidden><thead><tr><th width="130"></th><th></th></tr></thead><tbody><tr><td>Region</td><td>Describe</td></tr><tr><td>first</td><td><p>Select the Log project for which you want to search and analyze logs.</p><ul><li>Select or search for <strong>the Log project</strong> for which you want to view detailed logs.</li></ul></td></tr><tr><td>2</td><td>Logs search area, details on how to create commands can be found at <a href="https://docs-admin.vngcloud.vn/display/VPV/Search+logs">Search logs</a> .</td></tr><tr><td>3</td><td><p>Select area to filter logs by time</p><ul><li>Choose the condition to filter logs by time in 1 of 3 ways: <strong>Quick time, Relative time, Absolute time</strong> .</li><li>Refresh logs icon: you can use to refresh the list of logs displayed according to selected conditions.</li><li>In addition to selecting Refresh manually, you can set up automatic Refresh of log data every 10 seconds, 2 minutes,... that we provide.</li></ul></td></tr><tr><td>4</td><td><p>The area adds a list of log fields</p><ul><li><strong>Dislayed fields</strong> : list of default fields and fields you choose to display Log in the content frame.</li><li>If you want to display more fields, tick the fields listed in <strong>Available fields</strong> .</li><li>In addition, you can also rearrange the order of displayed fields by dragging and dropping the 3-dot icon in the fields.</li></ul></td></tr><tr><td>5</td><td>Chart display area.</td></tr><tr><td>6</td><td><p>Logs data display area:</p><p>In the middle frame, the system will return Log lines according to your choice with 3 factors</p><ul><li>Only display Logs that satisfy the conditions of the search and filter frames in <strong>Area 2</strong> .</li><li>Only display Log lines within the time frame selected in <strong>Area 3.</strong></li><li>Displays the values ​​of the fields in the Displayed field in <strong>Area 4.</strong> To see the full Logs line, click on the Logs line to see details.</li></ul><p>When too many Logs are returned, the system will display a portion and lazy load when you scroll down.</p></td></tr><tr><td>7</td><td>Area for you to export logs, refer to <a href="https://docs-admin.vngcloud.vn/display/VPV/Export+logs">Export logs</a></td></tr></tbody></table>

4\. Continue **searching and analyzing logs** .
