Skip to content

Format Errors with Caddy JSON (client_ip vs remote_ip) #2626

@Robert-Ernst

Description

@Robert-Ernst

I confirm issues with Caddy JSON too. I'm new to the project and my first experience is that it's not working.

goaccess -V
GoAccess - 1.5.5.

OS:
Ubuntu 22.04.2 LTS

Command:
goaccess /docker/caddy/log/myLog.log --no-ip-validation --log-format CADDY

Relevant part of the Caddyfile

        log {
                output file /var/log/myLog.log
                format json
        }

Output:

Cleaning up resources...
==2851435== GoAccess - Copyright (C) 2009-2020 by Gerardo Orellana
==2851435== https://goaccess.io - <hello@goaccess.io>
==2851435== Released under the MIT License.
==2851435==
==2851435== FILE: /docker/caddy/log/myLog.log
==2851435== Parsed 10 lines producing the following errors:
==2851435==
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435== IPv4/6 is required.
==2851435==
==2851435== Format Errors - Verify your log/date/time format

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions