# How to manage configuration of elastic agents on remote machines?

**URL:** <https://discuss.elastic.co/t/how-to-manage-configuration-of-elastic-agents-on-remote-machines/361787>\
**Category:** Elastic Agent\
**Created:** [June 20, 2024, 10:59am UTC](https://discuss.elastic.co/t/how-to-manage-configuration-of-elastic-agents-on-remote-machines/361787 "2024-06-20T10:59:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk1985](https://avatars.discourse-cdn.com/v4/letter/e/58956e/32.png) [@elk1985](https://discuss.elastic.co/u/elk1985)\
**Post date:** [June 20, 2024, 10:59am UTC](https://discuss.elastic.co/t/how-to-manage-configuration-of-elastic-agents-on-remote-machines/361787/1 "2024-06-20T10:59:36Z")

</div>

Hi.  
I have two problems to solve:  
1.How to manage configuration of elastic agents / filebeat config files on remote machines ?  
I want to have one centralized place so I can update remotely the Filebeat configuration. Is there a way to do so ?  
2. Can I use elastic agent to collect logs and send it to logstash server for parsing and date filtering ? I was trying with that configuration but it is not sending data to logstash and elasticsearch. Any ideas ?  
This is a elastic agent yml main file.

```auto
outputs:
  default:
    type: logstash
    hosts: ["10.253.24.100:5044"]
inputs:
 - type: filestream 
    id: unique-id-per-input 
    paths: 
    - C:\logs\*.log

```

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 20, 2024, 12:29pm UTC](https://discuss.elastic.co/t/how-to-manage-configuration-of-elastic-agents-on-remote-machines/361787/2 "2024-06-20T12:29:08Z")

</div>

> [@elk1985](#):
>
> How to manage configuration of elastic agents / filebeat config files on remote machines ?  
> I want to have one centralized place so I can update remotely the Filebeat configuration. Is there a way to do so ?

For Elastic Agent the recommend deployed model is to use Fleet, with will allow you to manage the agentes from the Fleet UI, deploying the agents in standalone mode is considered an advanced use case.

For filebeat there is nothign to centrally manage, you would need to build some automation to do that.

This is the [documentation](https://www.elastic.co/guide/en/fleet/current/install-fleet-managed-elastic-agent.html) about using Fleet to manage the agents.

> [@elk1985](#):
>
> Can I use elastic agent to collect logs and send it to logstash server for parsing and date filtering ?

Yes, you can send logs to Logstash, but you should do the parsing on Elasticsearch.

Elastic Agent relies on integrations, those integrations will use Ingest Pipelines to parse the data and the ingest pipelines are executed in Elasticsearch ingest nodes.
