﻿---
title: Troubleshooting ES|QL
description: This section provides some useful resource for troubleshooting ES|QL issues: stack: preview 9.4 serverless: unavailable Query logging: Log all query types,...
url: https://www.elastic.co/elastic/docs-builder/docs/3250/reference/query-languages/esql/esql-troubleshooting
products:
  - Elasticsearch
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Troubleshooting ES|QL
This section provides some useful resource for troubleshooting ES|QL issues:
- <applies-to>Elastic Stack: Preview since 9.4</applies-to> <applies-to>Elastic Cloud Serverless: Unavailable</applies-to> [Query logging](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3250/deploy-manage/monitor/logging-configuration/query-logs): Log all query types, including ES|QL, with a managed data stream (recommended)
- [Legacy ES|QL query log](https://www.elastic.co/elastic/docs-builder/docs/3250/reference/query-languages/esql/esql-query-log): Log ES|QL queries using the older `esql.querylog` settings
- [Task management API](https://www.elastic.co/elastic/docs-builder/docs/3250/reference/query-languages/esql/esql-task-management): Learn how to diagnose issues like long-running queries.
- [Circuit breaker settings](/elastic/docs-builder/docs/3250/reference/elasticsearch/configuration-reference/circuit-breaker-settings#circuit-breakers-page-esql): Learn how ES|QL uses the circuit breaker and how to configure it. For circuit breaker errors, see [Circuit breaker errors](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3250/troubleshoot/elasticsearch/circuit-breaker-errors).