Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data FileAccessLog Source #
An object that represents an access log file.
See: newFileAccessLog
smart constructor.
FileAccessLog' | |
|
Instances
Create a value of FileAccessLog
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:format:FileAccessLog'
, fileAccessLog_format
- The specified format for the logs. The format is either json_format
or
text_format
.
$sel:path:FileAccessLog'
, fileAccessLog_path
- The file path to write access logs to. You can use /dev/stdout
to
send access logs to standard out and configure your Envoy container to
use a log driver, such as awslogs
, to export the access logs to a log
storage service such as Amazon CloudWatch Logs. You can also specify a
path in the Envoy container's file system to write the files to disk.
<note> <p>The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.</p> </note>
fileAccessLog_format :: Lens' FileAccessLog (Maybe LoggingFormat) Source #
The specified format for the logs. The format is either json_format
or
text_format
.
fileAccessLog_path :: Lens' FileAccessLog Text Source #
The file path to write access logs to. You can use /dev/stdout
to
send access logs to standard out and configure your Envoy container to
use a log driver, such as awslogs
, to export the access logs to a log
storage service such as Amazon CloudWatch Logs. You can also specify a
path in the Envoy container's file system to write the files to disk.
<note> <p>The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.</p> </note>