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.
That error indicates that you're most likely getting back HTML instead of JSON from the HTTP server.
Looking at your configuration for the http module, json metricset, you're pointing to localhost:5601/. Typically that's the port used by Kibana. Is that what you're running or are you running some other HTTP service on 5601? If it's Kibana, then it's going to return HTML, not JSON.
All of this begs the question: what are you trying to achieve here? What's your end goal? Knowing that might help us point you in the right/better direction.
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.