Hi,
I configured in metricbeat the http module as below example, but I am getting the following error : http.json: invalid character '<' looking for beginning of value.
# Module: http
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.6/metricbeat-module-http.html
- module: http
metricsets:
- json
period: 5s
hosts: ["localhost:5601"]
namespace: "json_namespace"
path: "/"
#body: ""
#method: "GET"
#username: "user"
#password: "secret"
#request.enabled: false
#response.enabled: false
#json.is_array: false
#dedot.enabled: false
- module: http
metricsets:
- server
host: "localhost"
port: "8080"
enabled: false
#paths:
# - path: "/foo"
# namespace: "foo"
# fields: # added to the the response in root. overwrites existing fields
# key: "value"
Please advise on solution