# How to build logstash into jar ..and make it executable

**URL:** <https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888>\
**Category:** Logstash\
**Created:** [September 19, 2016, 1:19pm UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888 "2016-09-19T13:19:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth\_muddu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@srikanth\_muddu](https://discuss.elastic.co/u/srikanth_muddu)\
**Post date:** [September 19, 2016, 1:19pm UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888/1 "2016-09-19T13:19:01Z")

</div>

hi guys ,i want to build logstash into jar.,,can u guys suggest wat steps i need to follow...  
have done ES with maven ...but how for logstash ??  
...please do help

---

<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:** [September 19, 2016, 1:22pm UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888/2 "2016-09-19T13:22:20Z")

</div>

Why do you want to do this? Maybe there's a better way of accomplishing the same end goal.

---

<div class="post-metadata">

**Author:** ![srikanth\_muddu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@srikanth\_muddu](https://discuss.elastic.co/u/srikanth_muddu)\
**Post date:** [September 20, 2016, 9:54am UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888/3 "2016-09-20T09:54:35Z")

</div>

I don't want to run it as a daemon service ...if I could make build and get an executable then I can start it as another child process ..also if any plugin I want to configure(later stages )

wat do mean by " **better way of accomplishing the same end goal**"  
1.any another way for my requirement or  
2.how to do it  
please do help.

---

<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:** [September 20, 2016, 12:36pm UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888/4 "2016-09-20T12:36:58Z")

</div>

> I don't want to run it as a daemon service ...if I could make build and get an executable then I can start it as another child process

What's wrong with the script that ships with Logstash (I believe it's bin/logstash in the Logstash distribution tarball)?

> wat do mean by "better way of accomplishing the same end goal"

I mean that building Logstash into a single jar file isn't a useful goal in itself. You must have an actual end goal that you want to accomplish in order to solve a particular problem. That problem could perhaps be solved in another way.

---

<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, 4:37am UTC](https://discuss.elastic.co/t/how-to-build-logstash-into-jar-and-make-it-executable/60888/5 "2017-07-06T04:37:48Z")

</div>

Closed on July 6, 2017, 4:37am UTC


