Hi! Hopefully my subject is not too obtuse. I am looking to collect log data into a database for server analysis. I know for a fact that the data will be used by my non-technical peers, so Rails is perfect for building a fairly web interface to generate reports based on the data.
That said, my impression is that you have to work within the Rails framework closely for database updates. I can probably obtain the data and insert them via REST (which I would love to get into), but the problem is that I have a substantial amount of data - so much that I think REST may add unnecessary overhead as I parse log data and push them to my collector.
Hence, the approach I am thinking of trying is to run a Perl script on the collector to capture the log data and then directly update the table. Would that be safe to do?
If not, should I use Active Record within a TCPserver Ruby script (not preferable IMO for performance reasons) and how would I integrate that into Rails?