# There is a problem with elastic agent pushing logstash

**URL:** <https://discuss.elastic.co/t/there-is-a-problem-with-elastic-agent-pushing-logstash/335265>\
**Category:** Elastic Security\
**Created:** [June 6, 2023, 4:49am UTC](https://discuss.elastic.co/t/there-is-a-problem-with-elastic-agent-pushing-logstash/335265 "2023-06-06T04:49:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [June 6, 2023, 4:49am UTC](https://discuss.elastic.co/t/there-is-a-problem-with-elastic-agent-pushing-logstash/335265/1 "2023-06-06T04:49:20Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8088915955d89e093276513df40431f8dfe2d17.png)  
By changing the original strategy of the elastic agent to push the log to Elasticsearch to push to the new strategy to push to logstash, why the log is still in the original Elasticsearch, but not pushed to the new logstash to push to Elasticsearch? What is the solution?

---

<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 4, 2023, 4:49am UTC](https://discuss.elastic.co/t/there-is-a-problem-with-elastic-agent-pushing-logstash/335265/2 "2023-07-04T04:49:34Z")

</div>

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