I put an example of how to read audit log files programmatically here:
The first argument is the file path, the second argument is either the string "text" or "binary" depending on what format was specified in stardog.properties for the log file. KernelEvent class is not in the published javadocs (we'll include it there later) but it is a very simple interface. Let us know if you have questions.
You'll need a dependency on "com.complexible.stardog.logging:stardog-logging-api:${stardogVersion}" for this to work.