I'm currently working on a parser for plaso. For this I need to read journald's binary log files and convert those to a plaso timeline object.
My question now is: How do I read a binary file in python, keeping in mind that the file may contain strings and integers. Is a byte array sufficient for this? If so, how can I find the correct delimiters for the message fields?
Since I'm new to python I can't provide useful code just yet, still trying to wrap my head around this.