# Elastic agent and filebeat installation in windows PC

**URL:** <https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720>\
**Category:** Elastic Agent\
**Tags:** filebeat\
**Created:** [October 29, 2022, 10:21am UTC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720 "2022-10-29T10:21:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/subash/32/59912_2.png) [@subash](https://discuss.elastic.co/u/subash)\
**Post date:** [October 29, 2022, 10:21am UTC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720/1 "2022-10-29T10:21:01Z")

</div>

Hello,  
We are using Elasticsearch 7.17.4.

The objective is to collect the metrics and logs from Windows PC. Currently, using Elastic agents to send the logs and metrics to Elasticsearch.

In one of the use cases, we are required to send the log files to Logstash which is not possible using the elastic agents.

My question is, can we install filebeat (in the same PC where elastic agent is installed) to send the log files to Logstash?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)\
**Post date:** [October 30, 2022, 9:54pm UTC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720/2 "2022-10-30T21:54:59Z")

</div>

> [@subash](#):
>
> we are required to send the log files to Logstash which is not possible using the elastic agents

This is not exactly accurate, LS output was possible only with standalone agent in 7.17 per [doc](https://www.elastic.co/guide/en/fleet/7.17/logstash-output.html), while fleet is the recommended way to deploy the agent. Logstash output was added with fleet from 8.2.0 per [release notes](https://www.elastic.co/guide/en/fleet/8.2/release-notes-8.2.0.html) and [GA from 8.4](https://www.elastic.co/guide/en/fleet/8.4/release-notes-8.4.0.html)

> [@subash](#):
>
> can we install filebeat (in the same PC where elastic agent is installed) to send the log files to Logstash?

Yes this is possible, if agent integration uses filebeat, it will be in a different folder which is not an issue as the data folder of filebeat installed by the agent is separate.  
Obviously with filebeat you would then need to follow filebeat documentation (or winlogbeat in case you need to collect event logs)

---

<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:** [November 27, 2022, 9:55pm UTC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720/3 "2022-11-27T21:55:21Z")

</div>

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