I am trying to simplify the json log output by using the format modules, but I couldn’t find any example or documentation about the possible values for the log “keys”.
I have looked into the json encoder doc and there is no info about the allowed values for the log keys.
What would be the log directive(s) if I only want e.g. these fields:
ts (with a custom date/time format)
uri
proto
http response code (status)
user agent
I know I could use jq to filter out the json log, but this is an extra step I want to avoid. I am happy to use the json encoder after having read this argumentation, but there are a lot of informations in the json default output that I don’t need and that I will never use.