CloudWatchLogs / Client / put_syslog_configuration

put_syslog_configuration

CloudWatchLogs.Client.put_syslog_configuration(**kwargs)

Creates or updates a syslog configuration for a log group. This enables ingestion of syslog data through the specified VPC endpoint into the log group.

See also: AWS API Documentation

Request Syntax

response = client.put_syslog_configuration(
    logGroupIdentifier='string',
    vpcEndpointId='string'
)
Parameters:
  • logGroupIdentifier (string) –

    [REQUIRED]

    The name or ARN of the log group to associate with the syslog configuration.

  • vpcEndpointId (string) – The ID of the VPC endpoint to use for syslog ingestion.

Returns:

None

Exceptions

  • CloudWatchLogs.Client.exceptions.AccessDeniedException

  • CloudWatchLogs.Client.exceptions.InvalidParameterException

  • CloudWatchLogs.Client.exceptions.InvalidOperationException

  • CloudWatchLogs.Client.exceptions.OperationAbortedException

  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException

  • CloudWatchLogs.Client.exceptions.ThrottlingException

  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException