Caddy log analyzer

What tools do you recommend for analysing and looking at the Caddy logs? The json format retains a lot of data, but my current tools I’m used to simply doesn’t translate well to json.

The popular GoAccess has native support for Caddy’s JSON logs. Any other JSON log processor should work fine too. (Lots of hosted platforms support JSON as well.)

1 Like

Thanks. I’ve used GoAccess before and didn’t realise it had support. I’ll look into that.

I just discovered jq too. So I can grep stuff from the command line. jq .common_log < access.log

1 Like

FYI, the common_log field in the logs is deprecated, and will soon be removed. I recommend not depending on it.

2 Likes

That’s good to know. Apart from a statistic tool like GoAccess, what tools should I be looking at to really analyse the logs of in details, for example when debugging some issue etc.

This topic was automatically closed after 30 days. New replies are no longer allowed.