Access to audit logs

Hi we are on version 9.9.0

We would like to export the audit logs to our ELK stack. Is this possible? As far as I can see you can only download the audit logs as a file at the moment and I was unable to find them in the logs folder. Access log is not suitable as we would like to track changes made in SonarQube. I found SQ server audit logging? but this is still using the access logs. Any way to get these logs into ELK?

Thanks for the assistance.


I don’t know anything about ELK. If you’re looking for a data stream, you’ll need an intermediate process to call the API to download the file and feed it into ELK.

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.