Open davehcdn opened 3 years ago
We're experiencing the same issue. Did you manage to resolve it?
We're experiencing the same issue. Did you manage to resolve it?
Nope. 🦗🦗. Still unassigned.
Anyone find a solution for this - I just tried it and the AGW logs are getting pulled but GoAccess does not like the log format
I found a solution for me it is a bad custom log format that is in the deployment script. They have this --log-format='"%dT%tZ"{%^:"%h",%^:"%m",%^:"%U",%^:"%q",%^:"%u",%^:"%s",%^:"%H",%^:"%b",%^:"%T",%^:%v}' but the datetime output but the process like this 2022-11-23T05:14:08+00:00 so the format is nto right I changed mine to --log-format='"%dT%t+00:00"{%^:"%h",%^:"%m",%^:"%U",%^:"%q",%^:"%u",%^:"%s",%^:"%H",%^:"%b",%^:"%T",%^:%v}' and all is good.
My next questionis why have they not updated this tmeplate to deploy a more current version of GoAccess not one that is years old - 1.2 released in 2017?
application-gateway-logviewer-goaccess
Issue
It seems like the template deployed, but no report.html was produced. I navigated to
/var/log/azure/Microsoft.Azure.Networking.ApplicationGateway.LogProcessor/application.log
where it looks like there is an error every time that theMicrosoft.Azure.Networking.ApplicationGateway.LogProcessor
attempts to Parse lines from the log file.It appears that the Processor is able to go and fetch the files successfully, considering it is having problems parsing real data. I assume that there must be an issue with the custom log format developed in the .zip? My WAF is Azure V2.
Error Example
Reproduce:
I think that if you deploy the template yourself using the instructions provided (be specific in the SAS token section) you will encounter the same issue, seeing as there is nothing special with my WAF.