Hi all!
Basically, I don't receive data from the http module (Haproxy and System Module are working). I paste the configuration of my http.yml file for the HTTP Module in Metricbeats. Can someone please lend a hand with the settings? I leave some information about my environment.
I run ELK in Docker
Metricbeats 7.5
#Module: http
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-module-http.html
metricbeat.modules:
- module: http
metricsets:
- json
period: 10s
hosts: ["172.21.200.29:8080"]
namespace: "json_swagger"
path: "/ChequeElectronicoBackend/swagger-ui.html"
body: ""
method: "GET"
#username: "user"
#password: "secret"
#request.enabled: true
response.enabled: true
#json.is_array: false
#dedot.enabled: false
- module: http
metricsets:
- server
host: "172.21.200.29"
port: "8080"
enabled: true
paths:
- path: "/ChequeElectronicoBackend/swagger-ui.html"
namespace: "swagger"
Thanks.