Generating an HTML "shell" that can feed off of a previous goaccess outputted JSON file. #2593
Unanswered
sedevelops
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Certainly! Great question. Currently, loading GoAccess' JSON output to generate an HTML report isn't a feature. However, I find this to be an excellent idea. Implementing it might not be too complex. It would likely involve adding a new command line option and modifying the process to load the JSON file and pass it to the Are you familiar with C? If you're interested, I'd gladly review and merge your pull request! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Great product - thank you for sharing it with us! My question:
I'm up and running with GoAccess and loving it. It's all that I need for stats. Perfecto.
I have set up my apache access logs to rotate at midnight each night via cron job. Then, within that same cron job, I task goaccess with parsing the previous day's log file and saving a JSON file to disk.
I don't have a need to monitor my stats all the time, but will want to access them on occasion if there's a secuirity event or other interesting traffic pattern I want to understand. So I'd like to just keep an archive of these daily parsed JSON files.
My question is: Does anyone know if I can retroactively task goaccess with producing an html "shell" to feed off of these old parsed JSON files at a later date?
Basically, is there a way that goaccess can generate this html shell for me and I can simply edit within it to point to the location of a previously 'dumped' JSON file?
Beta Was this translation helpful? Give feedback.
All reactions