Issue with metricbeat kibana module when using custom path for Kibana

My kibana setup uses


My metricbeat autodiscovery for the kibana module uses:

- condition:
    contains: kibana
  - module: kibana
    hosts: ["https://${}:5601/kibana"]

But I am getting this in my metricbeat logs:

Error fetching data for metricset kibana.cluster_rules: invalid character '<' looking for beginning of value

As if metricbeat is hitting some HTML.

I can curl just fine.
I can also curl the pods ip directly from inside the cluster:

Before modifying the Kibana path, metricbeats was pulling Kibana metrics normally.

Please try this.

hosts: ["https://${}:5601]

And restart metricbeat. I hope it helps.

Sorry this does not work:

hosts: ["https://${}:5601]

Error fetching data for metricset kibana.cluster_rules: HTTP error 404 in : 404 Not Found

Sorry for the late reply, I was out on holidays for a week.

Try without the (S) in your https. Use http and see it this works.

I have tls enabled in kibana.
Metricbeats is able to upload dashboards to kibana fine to

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