# Live error logs

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fuser-guides%2Faccount-management%2Fpayment-and-billing%2Fquery-usage-analyzer%2Flive-error-logs.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fuser-guides%2Faccount-management%2Fpayment-and-billing%2Fquery-usage-analyzer%2Flive-error-logs.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

View real-time error logs for failed query executions directly within the Query Pattern drilldown. The **Live error logs** tab shows errors in context alongside the query pattern that triggered them, without switching to Explore Logs or searching log datasets manually.

## Where it appears[​](#where-it-appears "Direct link to Where it appears")

The **Live error logs** tab is located inside the **Query Pattern** drilldown view, next to the existing **Overview** tab.

To access it:

1. Go to **Settings**, then select **Metric Data**.
2. Select the **Usage Analysis** tab, then **Queries**.
3. Select any query pattern from the list to open the drilldown.
4. Select the **Live error logs** tab.

The drilldown header displays summary information for the selected query pattern:

* **Times used:** Total execution count for the selected date
* **Last run:** Timestamp of the most recent execution
* **Status:** Success and failure rates shown as percentages with counts (for example, `99.8% (2,198)` success, `0.2% (5)` failure)
* **Location:** The source where the query runs (for example, Alerts, Recording Rules, API)

## Error logs table[​](#error-logs-table "Direct link to Error logs table")

The **Live error logs** tab displays an **Error logs** section with a badge showing the total number of errors in the last 7 days.

[![live error logs tab](/assets/images/live-error-logs-8d13b7f46969d45e942256b5ec984877.webp)](https://docs-docusaurus.kinsta.page/assets/images/live-error-logs-8d13b7f46969d45e942256b5ec984877.webp)

The table includes the following columns:

* **Timestamp:** Date and time of the failed query execution (for example, `17/03/2026 08:37:45.536`)
* **Location:** The feature or component where the query ran (for example, Alerts)
* **Log:** The raw error log entry, including status, error type, and error message in JSON format

**Example log entry:**

```
{"status":"error","errorType":"500","error":"An internal error occurred while processing the request"}
```

## Use cases[​](#use-cases "Direct link to Use cases")

* **Debug failing queries:** Identify the root cause of query failures without leaving the Query Analyzer. The error message and timestamp pinpoint when and why a query failed.
* **Correlate errors with query patterns:** Determine which query patterns produce errors and how frequently using the status breakdown in the drilldown header.
* **Investigate alert reliability:** When a query pattern runs in Alerts, error logs reveal whether alert evaluations fail silently and need attention.
* **Triage by location:** The Location column shows where the error originated, helping route the investigation to the right team or feature area.
