Skip to main content

syslog_configurations

Creates, updates, deletes, gets or lists a syslog_configurations resource.

Overview

Namesyslog_configurations
TypeResource
Idaws.logs.syslog_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token for the next set of items to return. The token expires after 24 hours.
syslog_configurationsarrayThe list of syslog configurations.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_syslog_configurationsselectregionReturns a list of syslog configurations. You can optionally filter the results by log group or VPC endpoint.
put_syslog_configurationreplaceregion, logGroupIdentifierCreates or updates a syslog configuration for a log group. This enables ingestion of syslog data through the specified VPC endpoint into the log group.
delete_syslog_configurationdeleteregionDeletes a syslog configuration for a log group. After deletion, syslog data is no longer ingested through the specified VPC endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of syslog configurations. You can optionally filter the results by log group or VPC endpoint.

SELECT
next_token,
syslog_configurations
FROM aws.logs.syslog_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples

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.

REPLACE aws.logs.syslog_configurations
SET
logGroupIdentifier = '{{ logGroupIdentifier }}',
vpcEndpointId = '{{ vpcEndpointId }}'
WHERE
region = '{{ region }}' --required
AND logGroupIdentifier = '{{ logGroupIdentifier }}' --required;

DELETE examples

Deletes a syslog configuration for a log group. After deletion, syslog data is no longer ingested through the specified VPC endpoint.

DELETE FROM aws.logs.syslog_configurations
WHERE region = '{{ region }}' --required
;