Is it possible to modify the JSON access log format?

The single_field encoder just uses an existing field from the log entry as the value for the log entry.

Caddy’s log encoders are modular – if one doesn’t suit your needs, it can be swapped out for another one.

You might find this helpful: Making Caddy logs more readable - #5 by JeanLucLacroix