# executed a script on log event

**URL:** <https://forum.mikrotik.com/t/executed-a-script-on-log-event/156718>\
**Category:** Scripting\
**Created:** [March 22, 2022, 4:35pm UTC](https://forum.mikrotik.com/t/executed-a-script-on-log-event/156718 "2022-03-22T16:35:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jotne](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jotne/32/56097_2.png) [@Jotne](https://forum.mikrotik.com/u/Jotne)\
**Post date:** [March 24, 2022, 11:40am UTC](https://forum.mikrotik.com/t/executed-a-script-on-log-event/156718/2 "2022-03-24T11:40:03Z")

</div>

See my posts in this thread:  
[http://forum.mikrotik.com/t/black-list-for-failed-login-to-ipsec-vpn/130090/1](http://forum.mikrotik.com/t/black-list-for-failed-login-to-ipsec-vpn/130090/1)

It uses the log to block VPN users that do not have correct credentials.

---

_[View the full topic](https://forum.mikrotik.com/t/executed-a-script-on-log-event/156718)._
