Inquiry about elastic agents

Hi, everybody.

I am very new to elastic agent and I'm trying to get used to it.
Once I install elastic agent to a server, I see many instances are running.

  1. Are the default instances always running statically regardless of what data I configure to collect?
  2. Is it possible to limit it to running only certain instances using fleet server or something?
  3. How to configure heap memory size of the whole elastic agents or each of the instances?

Hello,

It is not clear what you are referring to here, which instances? You can have only one instance Elastic Agent running on a machine, it will then start multiple processes depending of what integrations it has configured.

Can you provide a little more context? Like, show some samples of what you are seeing in your server.

Same thing as the previous one, the Agent will start multiple processes depending on what it is configured in the integrations.

The Agent is written in Go, there is no Heap memory like Elasticsearch or Logstash.

I was confused with the concept of the instances and processes. What I'm referring to is the "processes". My memories may not be clear because I already reset my test elastic cluster, but once I installed the elastic agent provided by fleet, I could see several processes including filebeat, auditbeat and metricbeat. Are those processes the default processes that run before setting up integration?

Does that mean that processes related to the elastic agent can use memory of the OS without limitation?