CloudWatchLogs / Client / delete_transformer
delete_transformer#
- CloudWatchLogs.Client.delete_transformer(**kwargs)#
Deletes the log transformer for the specified log group. As soon as you do this, the transformation of incoming log events according to that transformer stops. If this account has an account-level transformer that applies to this log group, the log group begins using that account-level transformer when this log-group level transformer is deleted.
After you delete a transformer, be sure to edit any metric filters or subscription filters that relied on the transformed versions of the log events.
See also: AWS API Documentation
Request Syntax
response = client.delete_transformer( logGroupIdentifier='string' )
- Parameters:
logGroupIdentifier (string) –
[REQUIRED]
Specify either the name or ARN of the log group to delete the transformer for. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.
- Returns:
None
Exceptions
CloudWatchLogs.Client.exceptions.InvalidParameterException
CloudWatchLogs.Client.exceptions.ResourceNotFoundException
CloudWatchLogs.Client.exceptions.ServiceUnavailableException
CloudWatchLogs.Client.exceptions.OperationAbortedException
CloudWatchLogs.Client.exceptions.InvalidOperationException