New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing JSON with GoAccess #535
Comments
This should work:
|
Thanks for reply, Then i removed option time-format and got 2 more errors.
When i removed all of this options i finally got my report. |
For those unrecognized options, please upgrade to the latest version. Great question, one of the most important parts in the log format is the character that follows For a list of available log specifiers, please take a look at this. |
Greetings, sir. Could you please help me with parsing json log file.
Example of log string:
{"ip": "176.122.232.00", "host": "cdn.tv.com", "path": "/dtv/c_1199622700411804.ts", "status": "200", "user_agent": "YX_XY/1.0.1.0.3364", "length": 1392120, "date": "2016-10-09T20:00:00+03:00"}
I'm using this format:
goaccess -f access.log --log-format='%^: "%h", %^:%^, %^: "%R", %^: %s, %^: "%u",%^: %b, %^: "%dT%t+%^"' --date-format='%Y-%m-%d' > /report.html
And getting
What's wrong with my log-format?
Thanks.
The text was updated successfully, but these errors were encountered: