# Possible to set Filter Name for Cloudwatch log event trigger?

**URL:** <https://forum.serverless.com/t/possible-to-set-filter-name-for-cloudwatch-log-event-trigger/13883>\
**Category:** Serverless Framework\
**Tags:** aws, lambda\
**Created:** [January 27, 2021, 4:29pm UTC](https://forum.serverless.com/t/possible-to-set-filter-name-for-cloudwatch-log-event-trigger/13883 "2021-01-27T16:29:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boring\_human\_being](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@boring\_human\_being](https://forum.serverless.com/u/boring_human_being)\
**Post date:** [January 27, 2021, 4:29pm UTC](https://forum.serverless.com/t/possible-to-set-filter-name-for-cloudwatch-log-event-trigger/13883/1 "2021-01-27T16:29:08Z")

</div>

Say you have a lambda. And it’s triggered by a Cloudwatch log event. Great, Serverless can do that: [Serverless Framework - AWS Lambda Events - CloudWatch Log](https://www.serverless.com/framework/docs/providers/aws/events/cloudwatch-log/)

```
functions:
  myCloudWatchLog:
handler: myCloudWatchLog.handler
events:
  - cloudwatchLog: '/aws/lambda/hello'

```

We can also set filters. Cool. But what about a **filter name?**

This is a value one can set in the AWS UI:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/9/96edf00a98a6317900183105fbe5966cdb701c1a.png)

I assume this is the `LogGroupName` value specified in the Cloudformation API?

> **[AWS::Logs::SubscriptionFilter - AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html)**
>
> There can as many as two subscription filters associated with a log group.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/7/74fed4257bf9238396f61ec6fc6734018a1ecd68.png)

It appears Serverless does not support this value. Is that correct? Can someone confirm or deny?
