Hey guys, I'm just starting out with Rails, and I'm trying to build a tool that acts as a server for collecting log output across many machines. I was wondering if anyone could point me in the right direction of how to continuously post text to a rails page.
For example, I have a few machines that continuously run cron jobs and other scripts. Each machine is identifiable by its mac address. So I was thinking they could keep sending POST requests of the form server:3000/machines?macadd r=0.0.0.0&messa ge="logoutput"
Is there a more sensible way to do this? Could anyone point me to some docs on how I can implement this functionality? I have the basic structure with scaffolding, but I'm not exactly sure how I can keep appending text to a given page. Thanks
For example, I have a few machines that continuously run cron jobs and other scripts. Each machine is identifiable by its mac address. So I was thinking they could keep sending POST requests of the form server:3000/machines?macadd r=0.0.0.0&messa ge="logoutput"
Is there a more sensible way to do this? Could anyone point me to some docs on how I can implement this functionality? I have the basic structure with scaffolding, but I'm not exactly sure how I can keep appending text to a given page. Thanks