Hi,
I want to fetch JSON formatted logs from a URL. What is the best approach to do it? I tried the http_poller plugin..but I am not sure if it doesn't work or i am doing something wrong. Can you please help?
I tried using the httppoll plugin in logstash...however,.. i get an http failure message
@warkolm, Sorry about having to tag you on this. But I have been stuck with this for long time and can't figure out where the problem is. If you could provide some insights, i would greatly appreciate it!
Try removing the JSON codec in the input and output to stdout with ruby debug codec instead of Elasticsearch to see exactly what the fetched events look like to Logstash. Then add filters and codecs as appropriate.
Ping is for servers, not URLs, and it will not tell you whether you have connectivity to the appropriate port or not. Are you able to curl the URL quoted above?
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.