# Input-cloudwatch-logs skipping streams

**URL:** <https://discuss.elastic.co/t/input-cloudwatch-logs-skipping-streams/122708>\
**Category:** Logstash\
**Created:** [March 6, 2018, 11:40am UTC](https://discuss.elastic.co/t/input-cloudwatch-logs-skipping-streams/122708 "2018-03-06T11:40:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amas/32/32697_2.png) [@amas](https://discuss.elastic.co/u/amas)\
**Post date:** [March 6, 2018, 11:40am UTC](https://discuss.elastic.co/t/input-cloudwatch-logs-skipping-streams/122708/1 "2018-03-06T11:40:17Z")

</div>

Hi, I'm using Logstash with the input-cloudwatch-logs to fetch some historic log data (last 6 month) from Cloudwatch Logs. It seems like the plugin start fetching as it should, but skips some of the streams in the log-group in question Leaving big gaps in the historic data.  
What could be the cause of this? Or any help troubleshooting would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![amas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amas/32/32697_2.png) [@amas](https://discuss.elastic.co/u/amas)\
**Post date:** [March 7, 2018, 7:36am UTC](https://discuss.elastic.co/t/input-cloudwatch-logs-skipping-streams/122708/2 "2018-03-07T07:36:20Z")

</div>

If someone else encounters the same problem, I solved it via first exporting the logs to s3 [https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasks.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasks.html) and then import it with the logstash s3 plugin

---

<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 4, 2018, 7:36am UTC](https://discuss.elastic.co/t/input-cloudwatch-logs-skipping-streams/122708/3 "2018-04-04T07:36:29Z")

</div>

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