Metricbeat modules don't exist

I installed metricbeat yesterday from the rpm.
I'm trying to use the http module but it says it doesn't exist. What went wrong with my install?

I installed with: sudo rpm -vi metricbeat-6.4.0-x86_64.rpm

I made a small edit to /usr/share/metricbeat/modules.d/http.yml.disabled and renamed it http.yml
I added /user/share/metricbeat/bin to the beginning of $PATH.

I tried the following (as root):
cd /etc/metricbeat
metricbeat modules enable http

It responded:
Module http doesn't exist!

I get a similar response trying to enable apache (I have not touched its apache.yml.disabled file).

Thanks for any help.

This might be related to a previous topic.

It sounds like I need to "sync" /etc/metricbeat/metricbeat.yml to a newly repositioned directory /usr/share/metricbeat/modules.d. So maybe I just need to figure out how to do that. (or wait for release 6.4.1)

Yes, syncing /etc/metricbeat to the new location of modules.d works. Change the line
path: ${path.config}/modules.d/.yml
to
path: /usr/share/metricbeat/modules.d/
.yml

in the metricbeat.config.modules section of the file.

Note that ${path.home} does not work as a substitute for ${path.config}, so I spelled out /usr/share/metricbeat.

Hi @rsnyde09,

I'm afraid you are running into this bug: https://github.com/elastic/beats/issues/8104. We're working on fixing it and getting a release out soon. For now, you might want to try the workaround mentioned in the linked issue.

Shaunak

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