--- title: "How to Monitor Logs With Retrace" slug: "monitors-log-queries" description: "Easily configure log query monitors in Retrace dashboard. Receive alerts for query matches and ensure optimal log monitoring and analysis." updated: 2019-03-21T21:25:57Z published: 2019-03-21T21:25:57Z canonical: "docs.stackify.com/monitors-log-queries" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.stackify.com/llms.txt > Use this file to discover all available pages before exploring further. # How to Monitor Your Logs Navigate the Retrace dashboard and click on the **Monitoring Tab**. Click **Log Queries**. ![Log Queries](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Log%20Queries.png) In the [Log Queries screen](https://s1.stackify.com/Monitoring/Resources/Logs), you can set up monitors for your [Saved Log Searches](/docs/logs-filters-and-fields). Here is a step-by-step process in configuring and implementing log query monitors. ## Add a New Monitor Upon clicking **Log Queries**, you will then be directed to the next page. To set up a new Log Query, click the **Add New** button as shown below: ![Add New](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Add%20New.png) ## Configure Monitor Settings There are two ways to monitor a log query: Search Query and Saved Query. For Search Query, you may use the search query box and enters strings of keywords. ![Search Query](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Search%20Query.png) If in case you already created some queries, these are all saved and can be searched in the [Logs Dashboard](/docs/logs-dashboard). If you want to monitor it, just select it from the drop-down list as shown below. Do not forget to create a name for the monitor. Also, you can assign a search time frame. This will determine the time span that query matches are checked. ![Saved Query](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Saved%20Query.png) ## Add Alerts to the Monitor Once you are done with adding a log query monitor, you have the option to configure receiving alerts for query matches. To configure, click on the left angle bracket as shown below: ![Log Query](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Log%20Query.png) The expanded page will lead you to this: ![Query Matches](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/Query%20Matches.png) Click on the **Query Matches** and you will be directed to the page below. Select the **Configuration** tab and click on **Error Monitor**. ![configurations](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/configurations.png) For example, this log monitor is configured to trigger a warning alert when 20 or more query matches occur within a 5-minute time span. You can also configure specific parameters for critical and outage alerts based on your application’s needs. ![logs](https://cdn.document360.io/3fcaf473-a1ef-4778-aa2c-fd28411c2b01/Images/Documentation/logs.png) To see more information on setting up monitors in Retrace, be sure to check out [Configuring Your First Monitors](/docs/monitors-overview-and-configure).