This project is read-only.

Processing a SLAB-created file holding log events

Topics: Using
Feb 5, 2015 at 5:24 PM
The documentation describes both in-process and out-of-process mechanisms for processing events as they occur, in real time. I was planning to update my application that now writes (rather unstructured) text messages to a file for examination later (via redirected Console output) so that it also writes the same events using SLAB.

I was then planning to write an application that reads the resulting event file(s) and does different things with the different kinds of events. (That should be much easier than reading the text file and parsing the different barely-structured message formats that now exist in the pure text file.) This would be entirely asynchronous to the creation of the event files.

For example, some things that are encountered could be "data problems" with the plan of sending an email to the users who entered bad data. Other things (like a failure to access the database or getting errors from a 3rd-party API) could be "processing problems" about which administrators should be notified. Performance data (how long different things take) could also be recorded, to build a profile of application performance to check for possible issues as data size increases.

I have not seen anything that shows me how I can take a file produced by SLAB and treat it as an "event stream" for processing later. (I could surely do this if I built my own way of serializing structured copies of the event data and used it instead of SLAB.) Is that possible?

Thank you for any information.