Answer the question
In order to leave comments, you need to log in
Correct architecture - how to implement the output of real-time logs on the web?
Hello! There is a certain program that constantly writes logs in real time. The logs are read from STDOUT and written to a file by the Ruby daemon.
Please advise how to correctly implement real-time (well, delays of 5-10 seconds are allowed) the output of these logs in the web interface
Answer the question
In order to leave comments, you need to log in
Grab Logstash + Kibana solution
www.elasticsearch.org/overview/kibana
You can just as easily make a method on the server that will read the log file, and make an AJAX request to this method on the page. But ready-made solutions, of course, are better.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question