Logstash plugin development; dev container image; review requested

Hi everyone, particularly those with an interest in Logstash plugin development and build tooling.

I'm tooling up to do some logstash plugin development, and found myself going a bit crazy getting my development environment set up, so I wanted to make it easy and more repeatable to get a working development environment in which to build my plugin. Ideally against multiple versions of logstash.

With this in mind, I have created a Docker image on Docker Hub (my first one), and am currently doing some testing and documentation.

In particular, if you haven't heard of this, users of Visual Studio Code may like to know that you can use this container image definition easily as a Dev Container, so I'm documenting that too.

It's early days still, and next I want to add some useful tags, so as to have a 7.8 and 7.9 and a latest (currently its just 'latest'... although actually that's using Logstash 7.8.2 at present, which is to be corrected).

Oh, and for anyone who's run into that issue whereby ruby can't find the logstash-devutils package, I think I've resolved that (its to do with PATH ordering, I think).

So if you know anything about how to correctly build Logstash plugins (I'm interested in trying out the Java native plugin route), then I'd really appreciate a peer review.

Github: https://github.com/cameronkerrnz/logstash-plugin-dev (feel free to post an issue)

Docker Hub: https://hub.docker.com/repository/docker/cameronkerrnz/logstash-plugin-dev

Thanks for everyone's time.

Cheers,
Cameron

1 Like

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