# How to run logstash-forwarder on unix

**URL:** <https://discuss.elastic.co/t/how-to-run-logstash-forwarder-on-unix/686>\
**Category:** Logstash\
**Created:** [May 14, 2015, 12:17pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-forwarder-on-unix/686 "2015-05-14T12:17:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [May 14, 2015, 12:17pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-forwarder-on-unix/686/1 "2015-05-14T12:17:43Z")

</div>

Hello Firends,  
I am new to logstash/ELK.  
I have successfully configured logstash-forwarder, logstash, Elasticsearch and Kibana on windows 7 and indexed logs.  
When I copied all setup to unix, then all went OK except forwarder.  
I used to run forwarder in windows as below.  
logstash-forwarder -config logstash-forwwarder.conf

When I run the same command in Unix it doesnt work. it says command not found. I made it executable.

please help on this.

thanks in advance  
Sunil

---

<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:** [May 14, 2015, 2:25pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-forwarder-on-unix/686/2 "2015-05-14T14:25:23Z")

</div>

On Unix-like systems the current directory isn't normally in the path so you'll have to invoke it with `/path/to/logstash-forwarder` or `./logstash-forwarder`.

---

<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:39am UTC](https://discuss.elastic.co/t/how-to-run-logstash-forwarder-on-unix/686/3 "2017-07-06T05:39:51Z")

</div>


