# Monitor Tomcat services using Beats

**URL:** <https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222>\
**Category:** Beats\
**Created:** [August 7, 2019, 11:30am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222 "2019-08-07T11:30:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 7, 2019, 11:30am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/1 "2019-08-07T11:30:04Z")

</div>

I am using Beats-\>ElasticSearch-\>Kibana for viewing the metrics. Now I need to monitor the webapplications that are deployed on a tomcat server. How can we achieve this? Please help.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [August 7, 2019, 12:07pm UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/2 "2019-08-07T12:07:34Z")

</div>

What exactly you would like to monitor? Metrics? Logs?

---

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 7, 2019, 12:10pm UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/3 "2019-08-07T12:10:38Z")

</div>

I would want to check the status of the web applications deployed in tomcat servers. Like whether the application is up or down?

---

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 9, 2019, 6:04am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/4 "2019-08-09T06:04:20Z")

</div>

I am looking for some suggestions from Elastic team

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [August 9, 2019, 6:22am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/5 "2019-08-09T06:22:52Z")

</div>

Have you already looked at [https://www.elastic.co/guide/en/beats/heartbeat/current/heartbeat-getting-started.html](https://www.elastic.co/guide/en/beats/heartbeat/current/heartbeat-getting-started.html) ?

---

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 9, 2019, 6:44am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/6 "2019-08-09T06:44:59Z")

</div>

Yes. I have installed heartbeat on my server and it is up and running. I can monitor tomcat using tcp module over there. I am in need of monitoring the heartbeat of the webapps (one or more webapps) deployed in tomcat.

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [August 9, 2019, 6:47am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/7 "2019-08-09T06:47:47Z")

</div>

We use the following setting in haertbeat.yml to monitor our application - maybe this helps:

> ```
> - type: http
> enabled: true
> name: "<Application Name>"
> urls: ["<Application Url>"]
> ssl.certificate_authorities: ["<Root-CA PAth>"]
> check.request.method: GET
> check.response.status: 200
> schedule: '@every 60s'
> 
> ```

---

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 9, 2019, 6:58am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/8 "2019-08-09T06:58:49Z")

</div>

Thanks for the reply. What is the value we should input for Application Name?

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [August 9, 2019, 7:03am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/9 "2019-08-09T07:03:03Z")

</div>

We use the GIT project.name but you can use any name to identify the application - even to application path...

---

<div class="post-metadata">

**Author:** ![Tinkerbell](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Post date:** [August 9, 2019, 9:11am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/10 "2019-08-09T09:11:18Z")

</div>

Thank you so much. It works!!

---

<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:** [September 6, 2019, 11:26am UTC](https://discuss.elastic.co/t/monitor-tomcat-services-using-beats/194222/11 "2019-09-06T11:26:09Z")

</div>

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