Metricbeat apache - ERR Error on field 'children_system': Key `CPUChildrenSystem` not found

Hello everyone,

I've setup AWS elasticsearch (5.3), installed metricbeats on 2 amzlinux instances with apache 2.2.31 but I get a lot of errors:

> ERR Error on field 'user': Key `CPUUser` not found
> ERR Error on field 'system': Key `CPUSystem` not found
> ERR Error on field 'children_user': Key `CPUChildrenUser` not found
> ERR Error on field 'children_system': Key `CPUChildrenSystem` not found
> ERR Error on field 'server_uptime': Key `ServerUptimeSeconds` not found
> ERR Error on field 'server_uptime': Key `ServerUptimeSeconds` not found
> ERR Error on field 'user': Key `CPUUser` not found
> ERR Error on field 'system': Key `CPUSystem` not found
> ERR Error on field 'children_user': Key `CPUChildrenUser` not found
> ERR Error on field 'children_system': Key `CPUChildrenSystem` not found

My config is:

  • module: apache
    metricsets: ["status"]
    enabled: true
    period: 1s
    hosts: ["http://"]
    server_status_path: "server-status"

server-status page is enabled because I can access all information with curl 'http://hostname/server-status' and I've enabled 'ExtendedStatus' but still no dice.

On https://www.elastic.co/guide/en/beats/metricbeat/5.3/metricbeat-module-apache.html I see that this apache version should be supported so I'm a bit lost and I see other posts here but they related to apache 2.4.

Does it mean that apache 2.2 is not really supported?

Is there a workaround to this issue?

Thanks,
Ernest

Hi @egulik,

Is your hosts field complete? looks like it's missing a hostname. Also, could you please dump server-status page here? I wan to check what fields are you getting

Best regards

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