# Logstash-input-cloudwatch plugin data is not sending to es index

**URL:** <https://discuss.elastic.co/t/logstash-input-cloudwatch-plugin-data-is-not-sending-to-es-index/124093>\
**Category:** Logstash\
**Created:** [March 15, 2018, 11:59am UTC](https://discuss.elastic.co/t/logstash-input-cloudwatch-plugin-data-is-not-sending-to-es-index/124093 "2018-03-15T11:59:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sai\_Yarravarapu](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Sai\_Yarravarapu](https://discuss.elastic.co/u/Sai_Yarravarapu)\
**Post date:** [March 15, 2018, 11:59am UTC](https://discuss.elastic.co/t/logstash-input-cloudwatch-plugin-data-is-not-sending-to-es-index/124093/1 "2018-03-15T11:59:40Z")

</div>

index not created....

input {  
cloudwatch {  
access\_key\_id =\> "\*\*\*\*\*"  
secret\_access\_key =\> "\*\*\*\*\*\*\***_"  
namespace =\> "AWS/S3"  
metrics =\> ["BucketSizeBytes","NumberOfObjects"]  
filters =\> { "BucketName" =\> "awsbilling_**" }  
region =\> "us-west-2"  
}  
}

output {  
stdout {

}  
elasticsearch {  
hosts =\> ["[http://localhost:9200/](http://localhost:9200/)"]  
index =\> "dcloud\_watch\_aws"  
}  
}

[2018-03-16T10:36:34,675][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[http://localhost:9200/](http://localhost:9200/)"]}  
[2018-03-16T10:36:34,687][INFO][logstash.pipeline] Starting pipeline {"id"=\>"main", "pipeline.workers"=\>8, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>1000}  
[2018-03-16T10:36:34,714][INFO][logstash.pipeline] Pipeline main started  
[2018-03-16T10:36:34,723][INFO][logstash.inputs.cloudwatch] Polling CloudWatch API  
[2018-03-16T10:36:34,793][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-03-16T10:36:39,952][INFO][logstash.inputs.cloudwatch] [AWS CloudWatch 200 4.945 0 retries] list\_metrics(:namespace=\>"AWS/S3")

[2018-03-16T10:36:39,953][INFO][logstash.inputs.cloudwatch] Polling metric BucketSizeBytes  
[2018-03-16T10:36:39,953][INFO][logstash.inputs.cloudwatch] Filters: [{:name=\>"BucketName", :values=\>["awsbillinglocuz"]}]  
[2018-03-16T10:36:39,953][INFO][logstash.inputs.cloudwatch] Polling resource BucketName: awsbillinglocuz  
[2018-03-16T10:36:40,478][INFO][logstash.inputs.cloudwatch] [AWS CloudWatch 200 0.522 0 retries] get\_metric\_statistics(:dimensions=\>[{:name=\>"BucketName",:value=\>"awsbillinglocuz"}],:end\_time=\>"2018-03-16T10:36:39+05:30",:metric\_name=\>"BucketSizeBytes",:namespace=\>"AWS/S3",:period=\>60,:start\_time=\>"2018-03-16T10:21:39+05:30",:statistics=\>["SampleCount","Average","Minimum","Maximum","Sum"])

[2018-03-16T10:36:40,479][INFO][logstash.inputs.cloudwatch] Polling metric NumberOfObjects  
[2018-03-16T10:36:40,479][INFO][logstash.inputs.cloudwatch] Filters: [{:name=\>"BucketName", :values=\>["awsbillinglocuz"]}]  
[2018-03-16T10:36:40,480][INFO][logstash.inputs.cloudwatch] Polling resource BucketName: awsbillinglocuz  
[2018-03-16T10:36:41,039][INFO][logstash.inputs.cloudwatch] [AWS CloudWatch 200 0.557 0 retries] get\_metric\_statistics(:dimensions=\>[{:name=\>"BucketName",:value=\>"awsbillinglocuz"}],:end\_time=\>"2018-03-16T10:36:40+05:30",:metric\_name=\>"NumberOfObjects",:namespace=\>"AWS/S3",:period=\>60,:start\_time=\>"2018-03-16T10:21:40+05:30",:statistics=\>["SampleCount","Average","Minimum","Maximum","Sum"])

Logstash :-6.1.1  
ES:-6.1.1  
plugin :- 2.0.3

can any one suggest how to solve this issue

---

<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:** [April 12, 2018, 12:00pm UTC](https://discuss.elastic.co/t/logstash-input-cloudwatch-plugin-data-is-not-sending-to-es-index/124093/2 "2018-04-12T12:00:05Z")

</div>

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