# Extension in sensu-go

**URL:** <https://discourse.sensu.io/t/extension-in-sensu-go/1098>\
**Category:** Sensu Go\
**Created:** [February 15, 2019, 5:40am UTC](https://discourse.sensu.io/t/extension-in-sensu-go/1098 "2019-02-15T05:40:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vimlesh](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@Vimlesh](https://discourse.sensu.io/u/Vimlesh)\
**Post date:** [February 15, 2019, 5:40am UTC](https://discourse.sensu.io/t/extension-in-sensu-go/1098/1 "2019-02-15T05:40:13Z")

</div>

I am looking forward for writing extension in sensu-go, Please suggest a better alternative or a work around for this ?

Thanks,

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/aaronsachs/32/47_2.png) [@aaronsachs](https://discourse.sensu.io/u/aaronsachs)\
**Post date:** [February 15, 2019, 6:29pm UTC](https://discourse.sensu.io/t/extension-in-sensu-go/1098/2 "2019-02-15T18:29:56Z")

</div>

Hi @Vimlesh, currently there isn’t a way to write extensions with Sensu Go. That said, there are fewer reasons to do so.

In Core, extensions provided a performance gain, and allowed for receiving any event, OK status or otherwise. In Sensu Go, all events are handled by default, whereas using the built-in `is_incident` filter will only handle events that output a non-OK status.

Was there a particular use you had in mind for an extension?

---

<div class="post-metadata">

**Author:** ![Vimlesh](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@Vimlesh](https://discourse.sensu.io/u/Vimlesh)\
**Post date:** [February 18, 2019, 5:18am UTC](https://discourse.sensu.io/t/extension-in-sensu-go/1098/3 "2019-02-18T05:18:09Z")

</div>

Hello @aaronsachs, yes we have a specific use case where we wanted to write all events to a log file and do processing over it.
