> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# New CloudWatch Log Group Event

Triggers a workflow on every new CloudWatch log group event created.

**Endpoint**: `https://logs.{region}.amazonaws.com/#X-Amz-Target=Logs_20140328.FilterLogEvents`

<Note>
  Workflows with this trigger check for new events **every 5 minutes by default**. You can adjust this interval in the Trigger settings.
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                                            |
  | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | AWS Region     | Enter the desired AWS Region.<br />If no Region is specified, and the requested service supports Regions, AWS routes the request to `us-east-1` by default.                                                            |
  | Filter Pattern | The filter pattern to use. For more information, see Filter and Pattern Syntax (https:docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).<br />If not provided, all the events are matched. |
  | Log Group Name | The name of the log group to search.                                                                                                                                                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter              | Description                                                                                                                                                                                                                                                                                                                                       |
  | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Log Stream Name Prefix | Filters the results to include only events from log streams that have names starting with this prefix.<br />If you specify a value for both logStreamNamePrefix and logStreamNames, but the value for logStreamNamePrefix does not match any log stream names specified in logStreamNames, the action returns an InvalidParameterException error. |
</div>

## Sample Event

```json theme={"dark"}
{
	"logStreamName": "example-log-steam-name",
	"timestamp": 1660493254927,
	"message": "{\"kind\":\"Event\",\"apiVersion\":\"test.k8s.io/v1\",\"level\":\"testLevel\",\"testID\":\"3a12a345-123-43df9-8a1b-766fd4cf6\",\"stage\":\"Complete\",\"requestURI\":\"/apis/test.k8s.io/v1/namespaces/system\",\"ver\":\"get\",\"name\":{\"testName\":\"system:my-name\",\"groups\":[\"system:group\"]},\"sourceIPs\":[\"000.00.00.00\"],\"userAName\":\"manager/v0.00.0 \",\"objectRef\":{\"resource\":\"test\",\"namespace\":\"my-system\",\"name\":\"my-manager\",\"apiGroup\":\"test.k8s.io\",\"apiVersion\":\"v1\"},\"Status\":{\"metadata\":{},\"code\":200},\"requestReceivedTimestamp\":\"2022-08-17T00:14:14.389397Z\",\"stageTimestamp\":\"2022-08-17T00:14:14.393839Z\",\"annotations\":{\"test.k8s.io/dec\":\"allow\",\"test.k8s.io/reason\":\"RBAC: allowed by me \\\"system:my-manager\\\" of myRole \\\"system:my-manager\\\" to User \\\"system:my-manager\\\"\"}}",
	"ingestionTime": 1660695236220,
	"eventId": "12347417325358844256789826328277953744193575226312720977"
}
```
