# Can Elasticsearch get logs from Logstash/Fluentd by itself?

**URL:** <https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901>\
**Category:** Elasticsearch\
**Created:** [November 14, 2019, 1:21pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901 "2019-11-14T13:21:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene2](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@Eugene2](https://discuss.elastic.co/u/Eugene2)\
**Post date:** [November 14, 2019, 1:21pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901/1 "2019-11-14T13:21:35Z")

</div>

Hello  
I have Elasticsearch and instances with Fluentd/Logstach in different environments. Access to the env with Elastic is limited that's why Fluentd/Logstash can't push logs to the elasticsearch. But Elasticsearch has access to the environment with instances and can theoretically pull logs from this instances. Does Elasticsearch have this ability? How can I realize this solution? Thanks in advance for help!)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 14, 2019, 1:25pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901/2 "2019-11-14T13:25:19Z")

</div>

Elasticsearch can not pull data, so you may need to collocate Logstash with it and e.g. pull from a message queue.

---

<div class="post-metadata">

**Author:** ![Eugene2](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@Eugene2](https://discuss.elastic.co/u/Eugene2)\
**Post date:** [November 14, 2019, 1:49pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901/3 "2019-11-14T13:49:00Z")

</div>

Could you please describe how I can pull logs from Logstash message queue from Elasticsearch instance?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 14, 2019, 1:55pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901/4 "2019-11-14T13:55:08Z")

</div>

Logstash would pull from MQ and push to Elasticsearch.

---

<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:** [December 12, 2019, 1:55pm UTC](https://discuss.elastic.co/t/can-elasticsearch-get-logs-from-logstash-fluentd-by-itself/207901/5 "2019-12-12T13:55:10Z")

</div>

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