# CloudWatch input plugin config to receive all data

**URL:** <https://discuss.elastic.co/t/cloudwatch-input-plugin-config-to-receive-all-data/93232>\
**Category:** Logstash\
**Created:** [July 14, 2017, 6:20pm UTC](https://discuss.elastic.co/t/cloudwatch-input-plugin-config-to-receive-all-data/93232 "2017-07-14T18:20:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpuserh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rpuserh/32/63367_2.png) [@rpuserh](https://discuss.elastic.co/u/rpuserh)\
**Post date:** [July 14, 2017, 6:20pm UTC](https://discuss.elastic.co/t/cloudwatch-input-plugin-config-to-receive-all-data/93232/1 "2017-07-14T18:20:03Z")

</div>

Hi,  
I seted up API Gateway and enabled logging to cloud watch  
Now I want to import access log to ES  
In cloud-watch I get new object called API-Gateway-Execution-Logs\_xv87vewh1w/stage and a lot of stream under it

I tryed this config(See bellow) but it says to put filter, But I want to import all data.  
How do I put filter to parse all logs and put them to ES.

input {  
cloudwatch {  
namespace =\> "API-Gateway-Execution-Logs\_xv87vewh1w/stage"  
filters =\> { "" }  
region =\> "us-east-1"  
}  
}  
output {  
elasticsearch {  
hosts =\> ["127.0.0.1:9200"]  
index =\> "api-stage"  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 11, 2017, 6:20pm UTC](https://discuss.elastic.co/t/cloudwatch-input-plugin-config-to-receive-all-data/93232/2 "2017-08-11T18:20:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
