# Writing plugins

**URL:** https://community.graylog.org/t/writing-plugins/13560
**Category:** Graylog Central (peer support)
**Created:** [January 21, 2020, 1:23pm UTC](https://community.graylog.org/t/writing-plugins/13560 "2020-01-21T13:23:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![aandren](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aandren](https://community.graylog.org/u/aandren)
#### Post date: [January 21, 2020, 1:23pm UTC](https://community.graylog.org/t/writing-plugins/13560/1 "2020-01-21T13:23:46Z")

</div>

I realize this may be a duplicate but since the only sample I can find is a bit old I was wondering if the sample at: [https://github.com/Graylog2/graylog-plugin-sample](https://github.com/Graylog2/graylog-plugin-sample) is valid for Graylog 3.x. If not is there somewhere I can find a working example?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Ponet](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ponet/32/2131_2.png) [@Ponet](https://community.graylog.org/u/Ponet)
#### Post date: [January 21, 2020, 4:59pm UTC](https://community.graylog.org/t/writing-plugins/13560/2 "2020-01-21T16:59:53Z")

</div>

The latest documentation for plugin development can be found here:  
[http://docs.graylog.org/en/3.1/pages/plugins.html#writing-plugins](http://docs.graylog.org/en/3.1/pages/plugins.html#writing-plugins)

The documentation still references the repo linked in your post however, the section below the sample may be of interest to you:  
[http://docs.graylog.org/en/3.1/pages/plugins.html#creating-a-plugin-skeleton](http://docs.graylog.org/en/3.1/pages/plugins.html#creating-a-plugin-skeleton)

---

<div class="post-metadata">

### Author: ![aandren](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aandren](https://community.graylog.org/u/aandren)
#### Post date: [January 28, 2020, 10:13am UTC](https://community.graylog.org/t/writing-plugins/13560/3 "2020-01-28T10:13:34Z")

</div>

Thanks,

I’ll look in to it.

---

<div class="post-metadata">

### Author: ![aandren](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aandren](https://community.graylog.org/u/aandren)
#### Post date: [January 28, 2020, 8:18pm UTC](https://community.graylog.org/t/writing-plugins/13560/4 "2020-01-28T20:18:02Z")

</div>

Cannot get it to work. Is it applicable on a mac:

graylog-project.darwin bootstrap github://Graylog2/graylog-project.git  
git clone [git@github.com](mailto:git@github.com):Graylog2/graylog-project.git graylog-project  
Git stderr:  
Error executing: git [clone [git@github.com](mailto:git@github.com):Graylog2/graylog-project.git graylog-project] (exit status 128)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [February 11, 2020, 8:18pm UTC](https://community.graylog.org/t/writing-plugins/13560/5 "2020-02-11T20:18:09Z")

</div>

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