Is centralized monitoring possible?

#1

Hi Elastic Team,

Is it possible to have Elastic.Apm agent run on an independent logging application that accepts log outputs from different source applications?
Or does the APM Agent have to be "embedded" onto each application that I want to monitor?

Thanks,
Von

(gonindzya) #2

Hi @boonaxe.
Elastic Apm allows you to monitor software services and applications in real time, collecting detailed performance information on response time for incoming requests, database queries, calls to caches, external HTTP requests, etc.

Apm agent does not collect data from logs.
Yes, apm agents "embedded" onto application that you want to monitor.

What do you want to do with log from different source applications and/or what are you trying to do?

#3

Sorry for confusing logs with monitoring.

I am trying to create a centralized APM agent for a number of applications. Any idea how this would be possible?

(Juan Alvarez) #4

Hello,

APM Agents are libraries written in the same language as the app or service you want to instrument; so yes, you need to add it as a dependency on each of those apps/services separately.

Then they generate tracing data that is sent to an APM Server. That APM Server can run centrally and collects data from many agents.

Hope this clarifies your question,

Juan

(Felix Barnsteiner) #5

Using the Java agent, you can configure it to automatically attach to all java processes: https://www.elastic.co/guide/en/apm/agent/java/current/setup-attach-cli.html