File access log¶
config.accesslog.v2.FileAccessLog¶
[config.accesslog.v2.FileAccessLog proto]
Custom configuration for an AccessLog that writes log entries directly to a file. Configures the built-in envoy.file_access_log AccessLog.
{
"path": "...",
"format": "...",
"json_format": "{...}"
}
- path
- (string, REQUIRED) A path to a local file to which to write the access log entries.
- format
(string) Access log format string
Access log format. Envoy supports custom access log formats as well as a default format.
Only one of format, json_format may be set.
- json_format
(Struct) Access log format dictionary
Access log format. Envoy supports custom access log formats as well as a default format.
Only one of format, json_format may be set.