Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Generate JSON Report from Apache Log File
How to Generate JSON Report from Apache Log File?
✍: FYIcenter.com
If you want to Generate JSON Reports from an Apache Web server log file,
you can follow these steps:
1. Set the output file with a .json extension:
fyicenter$ goaccess access_log -o report.json
fyicenter$ python -m json.tool report.json | more
{
"general": {
"start_date": "06/12\u6708/2022",
"end_date": "10/12\u6708/2022",
"date_time": "2022-12-10 11:12:32 +0800",
"total_requests": 200,
"valid_requests": 200,
"failed_requests": 0,
"generation_time": 1,
"unique_visitors": 14,
"unique_files": 33,
"excluded_hits": 0,
"unique_referrers": 0,
"unique_not_found": 3,
"unique_static_files": 17,
"log_size": 45745,
"bandwidth": 9399393,
"log_path": [
"access_log"
]
},
"visitors": {
"metadata": {
"bytes": {
"total": {
...
⇒ Persist Processed Log Data to File
2023-01-06, 867🔥, 0💬
Popular Posts:
How to install Mozilla Firefox 2.0 add-on: FireFTP? FireFTP is a Mozilla Firefox 2 add-on that provi...
What contents are stored in a Web Archive (.mht) file? When you convert a word document into a singl...
How to download Mozilla Firefox 2.0? If you want to try Mozilla Firefox 2.0, you can follow this tut...
How to create a command button to run my macro in slide show in PowerPoint? I have created a macro t...
What is Microsoft Teams? Microsoft Teams is a Microsoft cloud service that combines workplace chat, ...