# Automate a logstash process for my conf file

**URL:** <https://discuss.elastic.co/t/automate-a-logstash-process-for-my-conf-file/113670>\
**Category:** Logstash\
**Created:** [January 1, 2018, 6:26am UTC](https://discuss.elastic.co/t/automate-a-logstash-process-for-my-conf-file/113670 "2018-01-01T06:26:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek\_Nigam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_nigam/32/25094_2.png) [@Vivek\_Nigam](https://discuss.elastic.co/u/Vivek_Nigam)\
**Post date:** [January 1, 2018, 6:26am UTC](https://discuss.elastic.co/t/automate-a-logstash-process-for-my-conf-file/113670/1 "2018-01-01T06:26:59Z")

</div>

Hi,

i configure mylog.conf for my server logs, every time i need to run command :"./logstash -f mylog.conf" to ingest data in to elastic search.

can i automate to run given command permanently in background.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 1, 2018, 8:54am UTC](https://discuss.elastic.co/t/automate-a-logstash-process-for-my-conf-file/113670/2 "2018-01-01T08:54:07Z")

</div>

If you install the DEB/RPM it will provide that. Otherwise you will need to do it yourself.

---

<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:** [January 29, 2018, 8:54am UTC](https://discuss.elastic.co/t/automate-a-logstash-process-for-my-conf-file/113670/3 "2018-01-29T08:54:17Z")

</div>

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