Metricbeat error while reading apache status

hello,
I am getting below error while reading apache status metric. My apache httpd is running on 51443 port. How can I make metricbeat to read form there?

br,
Sunil

Hello @sunilmchaudhari,

The apache module supports a hosts option, the defaults we assume the localhost and the port 80.

Example config:

metricbeat.modules:
- module: apache
  metricsets: ["status"]
  period: 10s
  enabled: true

  # Apache hosts
  hosts: ["http://127.0.0.1:51443"]

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