# Circuit breaker logging

**URL:** <https://discuss.elastic.co/t/circuit-breaker-logging/217170>\
**Category:** Elasticsearch\
**Created:** [January 30, 2020, 11:34am UTC](https://discuss.elastic.co/t/circuit-breaker-logging/217170 "2020-01-30T11:34:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mats990](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mats990/32/37516_2.png) [@mats990](https://discuss.elastic.co/u/mats990)\
**Post date:** [January 30, 2020, 11:34am UTC](https://discuss.elastic.co/t/circuit-breaker-logging/217170/1 "2020-01-30T11:34:04Z")

</div>

Hi,

We have configured circuit breakers which from time to time get triggered. We can see logs similar to this:

```
Example:
[request] New used memory 320131168 [305.3mb] for data of [<reused_arrays>] would be larger than configured breaker: 320116490 [305.2mb], breaking

```

Is there a possibility to detect which ES queries/requests triggered a circuit breaker?

Kr

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [January 30, 2020, 11:44am UTC](https://discuss.elastic.co/t/circuit-breaker-logging/217170/2 "2020-01-30T11:44:15Z")

</div>

Hi @mats990

unfortunately there is no way of logging the query that tripped the breaker. There is an open issue for adding this functionality here: [https://github.com/elastic/elasticsearch/issues/11145](https://github.com/elastic/elasticsearch/issues/11145)

---

<div class="post-metadata">

**Author:** ![mats990](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mats990/32/37516_2.png) [@mats990](https://discuss.elastic.co/u/mats990)\
**Post date:** [January 30, 2020, 12:19pm UTC](https://discuss.elastic.co/t/circuit-breaker-logging/217170/3 "2020-01-30T12:19:41Z")

</div>

Thank you @Armin_Braun for finding the issue. This is the answer I was looking for

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2020, 12:19pm UTC](https://discuss.elastic.co/t/circuit-breaker-logging/217170/4 "2020-02-27T12:19:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
