# Data stream rollover exceeded max\_size

**URL:** <https://discuss.elastic.co/t/data-stream-rollover-exceeded-max-size/255069>\
**Category:** Elasticsearch\
**Created:** [November 11, 2020, 1:25pm UTC](https://discuss.elastic.co/t/data-stream-rollover-exceeded-max-size/255069 "2020-11-11T13:25:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kin122](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kin122/32/51521_2.png) [@kin122](https://discuss.elastic.co/u/kin122)\
**Post date:** [November 11, 2020, 1:25pm UTC](https://discuss.elastic.co/t/data-stream-rollover-exceeded-max-size/255069/1 "2020-11-11T13:25:16Z")

</div>

hi  
i defined "test-log" data stream,add the ilm as follow

```auto
"hot": {
       "min_age": "0ms",
       "actions": {
         "rollover": {
           "max_size": "10mb"
         },
         "set_priority": {
           "priority": 100
         }
       }
     }

```

but it didnt work

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c0072cc163e47b4747ff45e6ef2ca0b9d93f30a7.png)  
ths primary shard size is much bigger than the size i setted  
is this a bug?

---

<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:** [December 9, 2020, 1:25pm UTC](https://discuss.elastic.co/t/data-stream-rollover-exceeded-max-size/255069/2 "2020-12-09T13:25:19Z")

</div>

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