Question
· Mar 23

How to use Python to read journal logs

Hello everyone, I would like to not rely on %SYS.Journal.Record class is used to implement the function of reading and parsing logs. I want to use Python to read and parse journal log files, and implement %SYS.Journal.Record class functionality.

Product version: IRIS 2023.1
Discussion (1)2
Log in or sign up to continue

You can use/reference %SYS.Journal.Record class and method from Python to work with journal files, what's your problem with that?

What do you need to achieve?

I don't think that implementing %SYS.Journal.Record functionality in Python from scratch would be easy and I miss a good reason why anyone would want to do that.

To work with journal files IRIS provide an API implemented in %SYS.Journal.Record class and that's what we are supposed to use.