I know there are a few tools for high volume of automated logs (Papertrail, CloudWatch, Kinesis), but I am looking for something that can ingest small amount of debugging logs, and then make it searchable, ideally by time, or order of events.
For example, I would like to log from the server side:
1- Log("Event 1 happened") 2- Log("Event 2 happened") 3 -Log("Event 3 happened")
Then I want to get this information in a list/graph, that shows these flows in much the same way I would see user flow in modern analytics tools.
I guess I could use analytics tools, like Mixpanel, but that seems an overkill.
What would you use?
Then log those to a database. If you don't have a ton of volume and want to use really reliable tech and be safe(ish) send your logs to a relational DB used only for logging. I have never tried sending to just a separate table within the production database but I know that can be done too.
Create read-only users on that logging DB or table.
Download a GUI client for that DB and you're up and running. You can use SQL to filter, order by timestamp, and create views.
If you still want to stay homegrown it's straightforward to put an API in front of it that powers some dashboards or easy investigation tools. For example, submit correlation/request ID and get back every log event in-order for that, color error logs red and boom - 1st level data visualization for investigations done too.