# Apache tomcat module

**URL:** https://discuss.elastic.co/t/apache-tomcat-module/304563
**Category:** Beats
**Tags:** metricbeat
**Created:** [May 12, 2022, 11:50am UTC](https://discuss.elastic.co/t/apache-tomcat-module/304563 "2022-05-12T11:50:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mangeshmj1992](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@mangeshmj1992](https://discuss.elastic.co/u/mangeshmj1992)
#### Post date: [May 12, 2022, 11:50am UTC](https://discuss.elastic.co/t/apache-tomcat-module/304563/1 "2022-05-12T11:50:32Z")

</div>

Hello team,  
We configured apache module in our server but we are able to get only below two types of message in our ELK.  
Can any one please help on this

Error:

1. HTTP error 404 in : 404
2. error making http request: Post [http://localhost:8080/jolokia/%3FignoreErrors=true&canonicalNaming=false:](http://localhost:8080/jolokia/%3FignoreErrors=true&canonicalNaming=false:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Config:

```auto
metricbeat.modules:
- module: tomcat
  metricsets: ['threading', 'cache', 'memory', 'requests']
  period: 10s
  hosts: ['localhost:8080'] 
  path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"

```

also used hosts: ['[https://localhost:8080](https://localhost:8080)']

---

<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 9, 2022, 1:51pm UTC](https://discuss.elastic.co/t/apache-tomcat-module/304563/2 "2022-06-09T13:51:02Z")

</div>

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