# Reduce logstash cloudwatch input logging info

**URL:** <https://discuss.elastic.co/t/reduce-logstash-cloudwatch-input-logging-info/164252>\
**Category:** Logstash\
**Created:** [January 15, 2019, 7:25am UTC](https://discuss.elastic.co/t/reduce-logstash-cloudwatch-input-logging-info/164252 "2019-01-15T07:25:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/izek/32/37113_2.png) [@Izek](https://discuss.elastic.co/u/Izek)\
**Post date:** [January 15, 2019, 7:25am UTC](https://discuss.elastic.co/t/reduce-logstash-cloudwatch-input-logging-info/164252/1 "2019-01-15T07:25:27Z")

</div>

When I use logstash-input-cloudwatch plugin, it will log info level information and for each query.  
It spam the log file.  
Can we enhance this plugin to reduce the size or setup different log value.

```json
[2019-01-15T15:19:45,426][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.053792 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:45 UTC,end_time:2019-01-15 07:19:45 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:45,626][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.190503 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:45 UTC,end_time:2019-01-15 07:19:45 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:45,840][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.199356 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:45 UTC,end_time:2019-01-15 07:19:45 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:45,892][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.048458 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:45 UTC,end_time:2019-01-15 07:19:45 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:46,074][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.179882 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:45 UTC,end_time:2019-01-15 07:19:45 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:46,279][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.203297 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:46 UTC,end_time:2019-01-15 07:19:46 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:46,437][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.153956 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:46 UTC,end_time:2019-01-15 07:19:46 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:46,613][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.173233 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:46 UTC,end_time:2019-01-15 07:19:46 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:46,781][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.1655 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:46 UTC,end_time:2019-01-15 07:19:46 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

[2019-01-15T15:19:47,002][INFO][logstash.inputs.cloudwatch] [Aws::CloudWatch::Client 200 0.219327 0 retries] get_metric_statistics(namespace:"AWS/EBS",metric_name:"VolumeTotalWriteTime",start_time:2019-01-15 07:09:46 UTC,end_time:2019-01-15 07:19:46 UTC,period:300,statistics:["SampleCount","Average","Minimum","Maximum","Sum"],dimensions:[{name:"VolumeId",value:"[FILTERED]"}])

```

---

<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:** [February 12, 2019, 7:25am UTC](https://discuss.elastic.co/t/reduce-logstash-cloudwatch-input-logging-info/164252/2 "2019-02-12T07:25:28Z")

</div>

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