How to run logstash-forwarder on unix


(Sunil Chaudhari) #1

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


(Magnus B├Ąck) #2

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.


(system) #3