Class ContinuousLoggingProps
(experimental) Properties for enabling Continuous Logging for Glue Jobs.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class ContinuousLoggingProps : Object, IContinuousLoggingProps
Syntax (vb)
Public Class ContinuousLoggingProps
Inherits Object
Implements IContinuousLoggingProps
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue.Alpha;
using Amazon.CDK.AWS.Logs;
LogGroup logGroup;
var continuousLoggingProps = new ContinuousLoggingProps {
Enabled = false,
// the properties below are optional
ConversionPattern = "conversionPattern",
LogGroup = logGroup,
LogStreamPrefix = "logStreamPrefix",
Quiet = false
};
Synopsis
Constructors
ContinuousLoggingProps() |
Properties
ConversionPattern | (experimental) Apply the provided conversion pattern. |
Enabled | (experimental) Enable continouous logging. |
LogGroup | (experimental) Specify a custom CloudWatch log group name. |
LogStreamPrefix | (experimental) Specify a custom CloudWatch log stream prefix. |
Quiet | (experimental) Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages. |
Constructors
ContinuousLoggingProps()
public ContinuousLoggingProps()
Properties
ConversionPattern
(experimental) Apply the provided conversion pattern.
public string ConversionPattern { get; set; }
Property Value
System.String
Remarks
This is a Log4j Conversion Pattern to customize driver and executor logs.
Default: %d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n
Stability: Experimental
Enabled
(experimental) Enable continouous logging.
public bool Enabled { get; set; }
Property Value
System.Boolean
Remarks
Stability: Experimental
LogGroup
(experimental) Specify a custom CloudWatch log group name.
public ILogGroup LogGroup { get; set; }
Property Value
Remarks
Default: - a log group is created with name /aws-glue/jobs/logs-v2/
.
Stability: Experimental
LogStreamPrefix
(experimental) Specify a custom CloudWatch log stream prefix.
public string LogStreamPrefix { get; set; }
Property Value
System.String
Remarks
Default: - the job run ID.
Stability: Experimental
Quiet
(experimental) Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.
public Nullable<bool> Quiet { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Stability: Experimental