# Is centralized monitoring possible?

**URL:** <https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641>\
**Category:** APM\
**Created:** [May 17, 2019, 7:04pm UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641 "2019-05-17T19:04:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![boonaxe](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@boonaxe](https://discuss.elastic.co/u/boonaxe)\
**Post date:** [May 17, 2019, 7:04pm UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/1 "2019-05-17T19:04:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [May 17, 2019, 7:16pm UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/2 "2019-05-17T19:16:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![boonaxe](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@boonaxe](https://discuss.elastic.co/u/boonaxe)\
**Post date:** [May 17, 2019, 8:27pm UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/3 "2019-05-17T20:27:15Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [May 20, 2019, 8:18am UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/4 "2019-05-20T08:18:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [May 21, 2019, 11:44am UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/5 "2019-05-21T11:44:01Z")

</div>

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](https://www.elastic.co/guide/en/apm/agent/java/current/setup-attach-cli.html)

---

<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:** [June 11, 2019, 7:47am UTC](https://discuss.elastic.co/t/is-centralized-monitoring-possible/181641/6 "2019-06-11T07:47:59Z")

</div>

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