# Global Plugin Execution Sequence

**URL:** https://discuss.konghq.com/t/global-plugin-execution-sequence/8444
**Category:** General
**Created:** [May 26, 2021, 12:51pm UTC](https://discuss.konghq.com/t/global-plugin-execution-sequence/8444 "2021-05-26T12:51:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![David03](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/david03/32/3060_2.png) [@David03](https://discuss.konghq.com/u/David03)
#### Post date: [May 26, 2021, 12:51pm UTC](https://discuss.konghq.com/t/global-plugin-execution-sequence/8444/1 "2021-05-26T12:51:02Z")

</div>

If multiple global plugins are created through KongClusterPlugin, then they will get executed for every request. How to define the sequence of global plugin execution like if I want to execute security plugins first followed by rate limit and logging plugins.

---

<div class="post-metadata">

### Author: ![joedas](https://avatars.discourse-cdn.com/v4/letter/j/7993a0/32.png) [@joedas](https://discuss.konghq.com/u/joedas)
#### Post date: [June 4, 2021, 6:57pm UTC](https://discuss.konghq.com/t/global-plugin-execution-sequence/8444/2 "2021-06-04T18:57:43Z")

</div>

Hello,

Plugins are executed based on their defined priorities, see [Plugin Development - Implementing Custom Logic - v2.4.x | Kong - Open-Source API Management and Microservice Management](https://docs.konghq.com/enterprise/2.4.x/plugin-development/custom-logic/#plugins-execution-order)

Auth plugins are given higher priority than logging/rate limiting plugins.
