# Elastic logging

**URL:** <https://discuss.elastic.co/t/elastic-logging/219076>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [February 12, 2020, 7:50pm UTC](https://discuss.elastic.co/t/elastic-logging/219076 "2020-02-12T19:50:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 12, 2020, 7:50pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/1 "2020-02-12T19:50:17Z")

</div>

whenever there is an exception from the cluster like EsRejectedException we are not logging it on the elastic side. We have to rely on the client to provide this information. is there a way we could enable the exhaustive logging on the Elastic side to know every exception thrown by elastic cluster.

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [February 12, 2020, 7:52pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/2 "2020-02-12T19:52:37Z")

</div>

Look at the filebeat elasticsearch and logstash modules.

---

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 12, 2020, 8:08pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/3 "2020-02-12T20:08:31Z")

</div>

I am asking for the logging on the elastic nodes level, i mean to enable logging in the cluster

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [February 12, 2020, 8:41pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/4 "2020-02-12T20:41:26Z")

</div>

Yes, you would have to run filebeat elasticsearch module on all elastic nodes.

---

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 20, 2020, 5:20pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/5 "2020-02-20T17:20:16Z")

</div>

file beat is just to ship the logs and how would running filebeat collect the exceptions thrown from the cluster?

---

<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:** [March 19, 2020, 5:20pm UTC](https://discuss.elastic.co/t/elastic-logging/219076/6 "2020-03-19T17:20:17Z")

</div>

Closed on March 19, 2020, 5:20pm UTC

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