If you've set your access, audit, or slow query log to type text
to make it human readable, you may notice that the resulting log isn't incredibly easy to read. This is because the log still needs to be printed with the log print
command.
This command can be run like so:
stardog-admin log print --text /path/to/audit.log
With this function, you can filter by time, event, etc.
By default, this command will print the log to your terminal, but you can save the log to a file by redirecting the output with >
:
stardog-admin log print --text /path/to/audit.log > /path/to/human_readable_audit.log
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article