FieldIndexPolicyProps Struct
Properties for creating field index policies.
Example
ts
const fieldIndexPolicy = new logs.FieldIndexPolicy({
fields: ['Operation', 'RequestId'],
});
new logs.LogGroup(this, 'LogGroup', {
logGroupName: 'cdkIntegLogGroup',
fieldIndexPolicies: [fieldIndexPolicy],
});
Properties
List of fields to index in log events.
Default: no fields