diff --git a/README.md b/README.md
index 5b0146b..93c496e 100644
--- a/README.md
+++ b/README.md
@@ -62,16 +62,16 @@ To perform a query against your selected profile. Alfred will then auto-populate
#### Modifier Key Cheat Sheet
Below is a table describing the currently supported AWS resource lookups and what Alfred will do upon hitting **Enter** when combined with modifier keys:
-| | (none) | Cmd | Alt / Option | Ctrl | Shift (_press_, not hold) |
-| :---: | --- | --- | --- | --- | --- |
-| ![](icons/cfn_stack.png)CloudFormation | Open stack in AWS console | | | | Quicklook |
-| ![](icons/ec2_instance.png)
EC2 | Copies _private_ IP | Open instance in AWS console | Copies _public_ IP (if available) | | Quicklook |
-| ![](icons/eb_environment.png)
Elastic Beanstalk | Open environment in AWS Console | Copies load balancer URL (if available) | | | Quicklook |
-| ![](icons/services/lambda.png)
Lambda | Open function in AWS console | | | | Quicklook |
-| ![](icons/db_instance.png)![](icons/db_cluster.png)
RDS | Copy endpoint URL | Open cluster or node in AWS Console | | | Quicklook |
-| ![](icons/services/redshift.png)
Redshift | Open cluster in AWS console | Copies first node's _private_ IP (if available) | Copies first node's _public_ IP (if available) | | Quicklook |
-| ![](icons/s3_bucket.png)
S3 | Open bucket in AWS Console | | | | Quicklook |
-| ![](icons/sqs_queue.png)
SQS | Open queue in AWS console | Copy queue URL | | | Quicklook |
+| | (none) | Cmd | Alt / Option | Ctrl | Shift (_press_, not hold) |
+| :---: | --- | --- | --- | --- | --- |
+| ![](icons/cfn_stack.png)CloudFormation | Open stack in AWS console | | | | Quicklook |
+| ![](icons/ec2_instance.png)
EC2 | Copies _private_ IP | Open instance in AWS console | Copies _public_ IP (if available) | | Quicklook |
+| ![](icons/eb_environment.png)
Elastic Beanstalk | Open environment in AWS Console | Copies load balancer URL (if available) | | | Quicklook |
+| ![](icons/services/lambda.png)
Lambda | Open function in AWS console | Open CloudWatch log group in AWS Console | | | Quicklook |
+| ![](icons/db_instance.png)![](icons/db_cluster.png)
RDS | Copy endpoint URL | Open cluster or node in AWS Console | | | Quicklook |
+| ![](icons/services/redshift.png)
Redshift | Open cluster in AWS console | Copies first node's _private_ IP (if available) | Copies first node's _public_ IP (if available) | | Quicklook |
+| ![](icons/s3_bucket.png)
S3 | Open bucket in AWS Console | | | | Quicklook |
+| ![](icons/sqs_queue.png)
SQS | Open queue in AWS console | Copy queue URL | | | Quicklook |
... more resources and modifiers to be implemented. Feel free to [fork this repo](#fork-destination-box) to implement your own!
diff --git a/aws_workflow/base.py b/aws_workflow/base.py
index b71332a..f1ef043 100644
--- a/aws_workflow/base.py
+++ b/aws_workflow/base.py
@@ -358,6 +358,15 @@ def populate_menu_item(self, wf, function, title, uid, region_name, quicklookurl
)
item.setvar('action', 'open-url')
+ cloudwatch_url = 'https://%s.console.aws.amazon.com/cloudwatch/home?region=%s#logStream:group=/aws/lambda/%s;streamFilter=typeLogStreamPrefix' % (region_name, region_name, title)
+ cmdmod = item.add_modifier(
+ 'cmd',
+ subtitle='open cloudwatch log group',
+ arg=cloudwatch_url,
+ valid=True,
+ )
+ cmdmod.setvar('action', 'open-url')
+
class EnvironmentFinder(Finder):
item_identifier = 'eb'