# Export ERROR LOGS

**URL:** <https://discuss.elastic.co/t/export-error-logs/185620>\
**Category:** Elasticsearch\
**Created:** [June 13, 2019, 11:04am UTC](https://discuss.elastic.co/t/export-error-logs/185620 "2019-06-13T11:04:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Sai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_sai/32/45200_2.png) [@Rajesh\_Sai](https://discuss.elastic.co/u/Rajesh_Sai)\
**Post date:** [June 13, 2019, 11:04am UTC](https://discuss.elastic.co/t/export-error-logs/185620/1 "2019-06-13T11:04:39Z")

</div>

I want to export the only error logs from Elasticsreach to Email.How Can I do it?

---

<div class="post-metadata">

**Author:** ![geekpete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/geekpete/32/20409_2.png) [@geekpete](https://discuss.elastic.co/u/geekpete)\
**Post date:** [June 21, 2019, 12:36pm UTC](https://discuss.elastic.co/t/export-error-logs/185620/2 "2019-06-21T12:36:49Z")

</div>

Filebeat has an Elasticsearch module you could use to ingest Elasticsearch logs (if you meant error logs from Elasticsearch):  
[https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-elasticsearch.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-elasticsearch.html)

You might then use Elastic Alerting to send only filtered Error logs to email:  
[https://www.elastic.co/guide/en/elastic-stack-overview/current/xpack-alerting.html](https://www.elastic.co/guide/en/elastic-stack-overview/current/xpack-alerting.html)

---

<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:** [July 19, 2019, 12:37pm UTC](https://discuss.elastic.co/t/export-error-logs/185620/3 "2019-07-19T12:37:06Z")

</div>

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