# APM need to configure for just apache

**URL:** <https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301>\
**Category:** APM\
**Created:** [September 5, 2018, 4:41am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301 "2018-09-05T04:41:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kranthi\_851](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@kranthi\_851](https://discuss.elastic.co/u/kranthi_851)\
**Post date:** [September 5, 2018, 4:41am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/1 "2018-09-05T04:41:30Z")

</div>

Hi All,  
I have configured apm-server to monitor tomat-apache logs it is fine, but I need to monitor just apache without tomcat, is it possible to monitor?  
If yes please let me know the configuration process!

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [September 5, 2018, 5:22am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/2 "2018-09-05T05:22:47Z")

</div>

Hi Kranthi,

There is currently no out-of-the-box solution for tracing within Apache httpd. For this, a couple of things would be required: an Elastic APM agent with a C API, and an [httpd module](https://httpd.apache.org/modules/) using that agent to hook into httpd events. Neither of these exist today.

If you don't specifically need APM trace data, but you want logs and/or metrics, I'd suggest taking a look at the [Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-apache2.html) and [Metricbeat](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-apache.html) Apache httpd modules.

Cheers,  
Andrew

---

<div class="post-metadata">

**Author:** ![kranthi\_851](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@kranthi\_851](https://discuss.elastic.co/u/kranthi_851)\
**Post date:** [September 5, 2018, 5:26am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/3 "2018-09-05T05:26:50Z")

</div>

Thanks for the reply,  
After installing the metricbeat latest version, I am unable to get the modules.d folder in /etc/metricbeat for enabling apache logs. May I know the reason or am I doing the wrong process?  
Kindly correct me.

---

<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:** [September 5, 2018, 5:50am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/4 "2018-09-05T05:50:51Z")

</div>

Hi, I'd suggest asking that in the [beats](https://discuss.elastic.co/c/beats) forum to get answers from the beats experts. But if you want to process apache logs, you should probably have a look at the [Filebeat Apache module](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-apache2.html).

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [September 5, 2018, 6:44am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/5 "2018-09-05T06:44:40Z")

</div>

Hi, sounds like you may have run into a known metricbeat issue, please see [this discuss entry](https://discuss.elastic.co/t/metric-beat-module-list-empty/147064/2).

---

<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 26, 2018, 2:44am UTC](https://discuss.elastic.co/t/apm-need-to-configure-for-just-apache/147301/6 "2018-09-26T02:44:48Z")

</div>

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