AWSLogsStartLiveTailRequest

Objective-C

@interface AWSLogsStartLiveTailRequest

Swift

class AWSLogsStartLiveTailRequest
  • An optional pattern to use to filter the results to include only log events that match the pattern. For example, a filter pattern of error 404 causes only log events that include both error and 404 to be included in the Live Tail stream.

    Regular expression filter patterns are supported.

    For more information about filter pattern syntax, see Filter and Pattern Syntax.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable logEventFilterPattern;

    Swift

    var logEventFilterPattern: String? { get set }
  • An array where each item in the array is a log group to include in the Live Tail session.

    Specify each log group by its ARN.

    If you specify an ARN, the ARN can’t end with an asterisk (*).

    You can include up to 10 log groups.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable logGroupIdentifiers;

    Swift

    var logGroupIdentifiers: [String]? { get set }
  • If you specify this parameter, then only log events in the log streams that have names that start with the prefixes that you specify here are included in the Live Tail session.

    If you specify this field, you can’t also specify the logStreamNames field.

    You can specify this parameter only if you specify only one log group in logGroupIdentifiers.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable logStreamNamePrefixes;

    Swift

    var logStreamNamePrefixes: [String]? { get set }
  • If you specify this parameter, then only log events in the log streams that you specify here are included in the Live Tail session.

    If you specify this field, you can’t also specify the logStreamNamePrefixes field.

    You can specify this parameter only if you specify only one log group in logGroupIdentifiers.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable logStreamNames;

    Swift

    var logStreamNames: [String]? { get set }