How to run logstash in background in unix?

How to run logstash in background in unix ?

Hi @mandar.raj,

To run the process in background we use "&" after command. However, may i know how you install the logstash like RPM, tar etc..

Regards,
Harsh Bajaj

I used tar to install logstash, can you please help me with command.

Currently i am using ./bin/logstash -f /var/app/logstash-6.6.0/logstash-config.properties

What operating system are you running on?

Unix

Please be more specific about the platform and type of unix. As far as I know no parts of the Elastic stack is tested on any flavour of Unix so there is no guarantee it will work at all. I would recommend instead deploying it on a supported platform form, e.g. Linux on x86_64.

-sh-4.1$ cat *-release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.10 (Santiago)
Red Hat Enterprise Linux Server release 6.10 (Santiago)

OK, so you are using Linux and not Unix. Then I would recommend you install it using RPM. It handles a lot of this for you.

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