# Testing Logs in Logstash |Automation with Ansible

**URL:** <https://discuss.elastic.co/t/testing-logs-in-logstash-automation-with-ansible/303768>\
**Category:** Logstash\
**Created:** [May 2, 2022, 7:24pm UTC](https://discuss.elastic.co/t/testing-logs-in-logstash-automation-with-ansible/303768 "2022-05-02T19:24:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amanda\_Ruzza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amanda_ruzza/32/105140_2.png) [@Amanda\_Ruzza](https://discuss.elastic.co/u/Amanda_Ruzza)\
**Post date:** [May 2, 2022, 7:24pm UTC](https://discuss.elastic.co/t/testing-logs-in-logstash-automation-with-ansible/303768/1 "2022-05-02T19:24:32Z")

</div>

Dear all,  
My team is currently working on deploying an ELK stack on AWS using Ansible and GitHub Actions.  
My question is:  
**Is there a way to test that the the Log files sent from MetricBeats are being properly collected in Logstash?**  
And if so, how could I automate that with Ansible?2022-05-02T04:00:00Z

---

<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:** [May 30, 2022, 7:24pm UTC](https://discuss.elastic.co/t/testing-logs-in-logstash-automation-with-ansible/303768/2 "2022-05-30T19:24:44Z")

</div>

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