-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Unable to parse caddy logs. #2814
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
Comments
The issue is that the Caddy logs need to be in JSON format. Currently, your logs are a mix of timestamped entries with additional information followed by JSON. To ensure the logs are consistently in JSON format, update your Caddy configuration file as follows:
|
I have updated but still getting the same error ipv4/6 required Here is my caddyfile config http:// {
} |
Can you please post a few lines from your log? |
|
are you able to validate those json logs? it should pass the test. |
Yes it has passed the test , json is valid. |
There's no valid IP on your log, you have: |
Uh oh!
There was an error while loading. Please reload this page.
Hello I am getting an error ipv4/6 is required while trying to parse caddy logs using the --log-format CADDY option.
Here is a sample of my logs:
Here is the screenshot of the error I am receiving.
The text was updated successfully, but these errors were encountered: