# How to Run Logstash using Java program

**URL:** <https://discuss.elastic.co/t/how-to-run-logstash-using-java-program/92115>\
**Category:** Logstash\
**Created:** [July 6, 2017, 1:49pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-using-java-program/92115 "2017-07-06T13:49:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ent\_1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ent_1/32/25549_2.png) [@ent\_1](https://discuss.elastic.co/u/ent_1)\
**Post date:** [July 6, 2017, 1:49pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-using-java-program/92115/1 "2017-07-06T13:49:40Z")

</div>

Hai

I would like to run logstash through Java ..

please help me to configure this

regards  
Dileep

---

<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:** [July 6, 2017, 8:08pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-using-java-program/92115/2 "2017-07-06T20:08:34Z")

</div>

Running Logstash from a Java program is no different from running any other kind of program from a Java program. Please consult Java documentation and/or tutorials.

---

<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:** [August 3, 2017, 8:08pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-using-java-program/92115/3 "2017-08-03T20:08:40Z")

</div>

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