Hi all,
My first steps with Elastic, so maybe a dumb question. Running 6.4.0 with Metricbeat http module polling a SmartMeter.
Test with Google Chrome: http://192.168.13.50:8080/xml/json.php?mode=infomin
JSON Reply of SmartMeter:
{"devicetype":"ALL3690","devicename":"ALL3690","softversion":"320","patchlevel":"1052","revision":"0.02"}
I'm not sure about the root of your issue but that message is the error of Go trying to parse a JSON but that has probably received an HTML (like <html><head>...) That's why it is warning about the < character at the beginning.
It's probably not making the request where you are expecting or to the path you are expecting. I'd try to set the path without the first / and set the host with the http:// schema just in case. Also if you have an Nginx or some proxy, I'll review there just in case.
Thanks for your quick reply. I tried both of your hints with the same result. So if it's not an obvious configuration fault, I'll set up Wireshark to find out what is going back and forth.
So the reply of the SmartMeter is 404 page not found because of the %3F in the URL.
The big question is also how to get the ? in the URL instead of %3F replacement...
Hi @Mario_Castro
Thanks a lot for the quick solution and for keeping me in the loop. The current downloadable Metricbeat version is 6.4.1 which does not contain your recent changes. When do you think the next release will be available? Is there a fixed schedule?
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.