GrayLog

103 views
Skip to first unread message

Richard Nusse

unread,
Jul 29, 2016, 9:31:23 AM7/29/16
to Pick and MultiValue Databases
I wanted to open a general topic on best practices for logging messages to GrayLog from Universe. I welcome any and all ideas. Primarily looking for logging via DataBasic programs. Would also entertain any ideas of "redirecting" system logs and messages to GrayLog as well.

Thank you

Tony Gravagno

unread,
Jul 30, 2016, 5:26:51 PM7/30/16
to Pick and MultiValue Databases
Hiya bud. As usual, I don't see this as any special MV thing. Graylog has info for message input and the DBMS and apps are just data sources.
http://docs.graylog.org/en/2.0/pages/sending_data.html
http://docs.graylog.org/en/2.0/pages/plugins.html
Obviously others have done this, there is a whole marketplace of addons:
https://marketplace.graylog.org/

Bundle whatever message you find are interesting and transmit them using the same tools that have been discussed for years for other applications. For cross-platform compatibility I'd use the cURL option, where BASIC just creates a JSON packet and then you call to the OS to send it. No need to fuss with DBMS-specific comms.

As soon as you take the "with MV" out of "how do I do this", the task becomes as easy as for any of the other well-documented platforms out there. Don't let MV be the stumbling block - and don't try to stuff everything into BASIC when it's not necessary.

Same response to another "how do I use TAPI with Universe" request in 2009:
http://nebula-rnd.com/blog/tech/mv/2009/08/mv-to-anything.html

As to what data should be sent to an app like Graylog, well, there's a world of options there. Do files need resizing? Are there BASIC errors reported? Was the system crashed recently? And on the app side is average sales this period down compared to the same time last year? For this I created a product with the working name mvManager. It's one of those projects that got about 90% done but I didn't finish for lack of time, despite a Lot of requests. I need to go back to that. If you are working with an end-user that needs this sort of messaging from the network, OS, DBMS, and/or MV apps, let me know. Does it interface with Graylog? Not this week but like I said, that's the easy part. It does send email and SMS, and updates Slack groups. The reporting mechanism is completely open once the engine is established to find and report on events of interest. And in that regard, for anyone else doing something like this, I'd strongly suggest separating the data gathering from the data reporting. Just like we should separate INPUT and PRINT to implement a GUI, the acquisition of data and the transmission of that data should be completely separate, because we don't know today about reporting media of choice that will come next year.

HTH
T
Reply all
Reply to author
Forward
0 new messages