# Monitor tomcat and custom applications

**URL:** <https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522>\
**Category:** APM\
**Created:** [August 8, 2018, 1:21pm UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522 "2018-08-08T13:21:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gauti](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Post date:** [August 8, 2018, 1:21pm UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522/1 "2018-08-08T13:21:49Z")

</div>

Hi All,

I'm pretty new to the APM module, was just checking whether we can monitor tomcat application, because in the downloadable apm agents i dont see anything for tomcat.  
If we can monitor can someone please guide me thorugh how i can achieve it.

Also if i want to monitor some custom application is there any way to achieve the same.

Thanks  
Gauti

---

<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:** [August 8, 2018, 2:56pm UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522/2 "2018-08-08T14:56:58Z")

</div>

Hi and thanks for your interest in Elastic APM,

Tomcat is one of the supported servlet containers. You can see a complete list of what is currently supported in the [documentation](https://www.elastic.co/guide/en/apm/agent/java/current/intro.html#supported-app-servers). The docs also have a section on how to get started.

Let me know if I can help with anything in particular.

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![Gauti](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Post date:** [August 9, 2018, 8:02am UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522/3 "2018-08-09T08:02:10Z")

</div>

so do i need to download the js apm agent and then configure tomcat in it?

Thanks  
Gauti

---

<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:** [August 9, 2018, 9:55am UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522/4 "2018-08-09T09:55:39Z")

</div>

Could you describe what you exactly want to monitor? We have different agents for different languages.

The JS agent (aka Real User Monitoring) is an agent which sits in the browser. For more information about the JS agent, see the [docs](https://www.elastic.co/guide/en/apm/agent/js-base/current/index.html).

Then there are different backend agents. You mentioned Tomcat, so I assume you are interested in the Java agent. You can find it's documentation [here](https://www.elastic.co/guide/en/apm/agent/java/current/index.html). See [this page](https://www.elastic.co/guide/en/apm/agent/index.html) for an overview of all the available agents.

So if you want to monitor a Java application including it's frontend, you would need to configure both the JS and the Java agent.

---

<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:** [August 30, 2018, 5:55am UTC](https://discuss.elastic.co/t/monitor-tomcat-and-custom-applications/143522/5 "2018-08-30T05:55:50Z")

</div>

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