The endpoint is available from metricbeat pod (tried with curl command from the pod, gave a valid response), but it seems that the module cannot pick up and transmit the data (the documents only contain the default fields, but not the envoyproxy). There is no error log entry, checked all the pods.
Also, I have tried with prometheus module, used the /stats/prometheus path, in this case the data has been collected, but the metricbeat index template does not contain the proper mappings for this case.
Does anyone has a tip, how to configure properly the envoyproxy module?
Documentation tells rather nothing...
I am trying to setup the metricbeat for envoyproxy also, (I am using ELK 7.3.1 and envoy 1.2.4 versions). in the logs for the metricbeat-metrics pod im getting: [metricbeat-metrics-74f488d4f4-94lqh metricbeat] 2019-09-12T18:49:21.230Z INFO module/wrapper.go:247 Error fetching data for metricset envoyproxy.server: error in http fetch: HTTP error 503 in : 503 Service Unavailable
It seems to me that you have a slightly different (authorization) problem.
Have you checked that the envoyproxy stats endpoint is available from the metricbeat pod?
Try something like:
kubectl exec -it [metricbeat pod name] -n [namespace] -- /bin/bash
When you in the metricbeat pod, ping the envoy stats endpoint.
It looks like this related to your Envoy Proxy version. The envoyproxy module is tested with Envoy 1.7.0. I checked new versions of Envoy Proxy and it has new metrics. Because of this envoy proxy module publishes events without data. I am not sure why there is no error log entry, tested locally with envoy v1.11.0 and it shows an error message in logs.
I updated the Envoyproxy module with Envoy Proxy v1.12.0, you can follow this PR.
I hope this will be a solution to your issue.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.