#2696·goaccess

Real-time JSON export

Author: igorhrcekCreated Jul 26, 2024Updated May 12, 2026
Labelslog-processingwebsocket-server

Hi!

Would it be possible to obtain a real-time JSON export? I am using a Prometheus for monitoring and I would like to pull JSON, that GoAccess already makes, convert it into Prometheus metrics and store within it to use for alerting and Grafana charts.

Now, there is option to export data into JSON format, and I've seen an example linked in Readme that provides JSON output, but I am unsure how to get it on my instance. I am currently running GoAccess like this:

goaccess access.log --log-format=COMBINED --real-time-html -o /var/www/userdata/web/public/public_html/report.html

Thank you!