Metricbeat apache status non-standard URL

Hi,
I'd like to use metricbeat apache plugin using a non standard apache status URL (/public/apache-status)

Is there some way to accomplish that?

thanks

It should work if you include the path in the URL.

metricbeat.modules:
- module: apache
  metricsets: ["status"]
  hosts: ["http://127.0.0.1/public/apache-status"]

Or you can set it using "server_status_path".

metricbeat.modules:
- module: apache
  metricsets: ["status"]
  hosts: ["127.0.0.1"]
  server_status_path: "/public/apache-status"

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