# Too many dynamic script compilations

**URL:** <https://discuss.elastic.co/t/too-many-dynamic-script-compilations/120149>\
**Category:** Kibana\
**Created:** [February 16, 2018, 10:54am UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations/120149 "2018-02-16T10:54:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunil129](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sunil129](https://discuss.elastic.co/u/sunil129)\
**Post date:** [February 16, 2018, 10:54am UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations/120149/1 "2018-02-16T10:54:50Z")

</div>

Hi,  
when i select a dashboard, i am getting the below error in Kibana.

Visualize: [script] Too many dynamic script compilations within, max: [75/5m]; please use indexed, or scripts with parameters instead; this limit can be changed by the [script.max\_compilations\_rate] setting

Please let me know how to fix.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [February 16, 2018, 6:00pm UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations/120149/2 "2018-02-16T18:00:29Z")

</div>

Looks like this has been discussed here: [Scripted field and "Too many dynamic script compilations within one minute,"](https://discuss.elastic.co/t/scripted-field-and-too-many-dynamic-script-compilations-within-one-minute/101671/2)

You can configure the `"script.max_compilations_per_minute"` setting to increase the limit of script compilations.

---

<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:** [March 16, 2018, 6:00pm UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations/120149/3 "2018-03-16T18:00:50Z")

</div>

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