# Getting started with Ruby and Logstash

**URL:** <https://discuss.elastic.co/t/getting-started-with-ruby-and-logstash/40386>\
**Category:** Logstash\
**Created:** [January 28, 2016, 4:01pm UTC](https://discuss.elastic.co/t/getting-started-with-ruby-and-logstash/40386 "2016-01-28T16:01:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjdepaul](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jjdepaul](https://discuss.elastic.co/u/jjdepaul)\
**Post date:** [January 28, 2016, 4:01pm UTC](https://discuss.elastic.co/t/getting-started-with-ruby-and-logstash/40386/1 "2016-01-28T16:01:56Z")

</div>

I've been able to get a lot done with your help here and with documentation on Logstash.

Now I want to start learning how to program in Logstash with Ruby. How does one get started with understanding of the Logstash runtime environment: how to interact with the pipe line processing, how to fetch event data, how to recognize matches, how to add to the events, how to modify events, etc?

Is there a Logstash programming primer or a set of examples to analyze to start this journey in Logstash?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 28, 2016, 6:11pm UTC](https://discuss.elastic.co/t/getting-started-with-ruby-and-logstash/40386/2 "2016-01-28T18:11:28Z")

</div>

Have you read [https://www.elastic.co/guide/en/logstash/current/contributing-to-logstash.html](https://www.elastic.co/guide/en/logstash/current/contributing-to-logstash.html)? It should at least answer some of your questions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:13am UTC](https://discuss.elastic.co/t/getting-started-with-ruby-and-logstash/40386/3 "2017-07-06T05:13:54Z")

</div>


