my config file is stored in
/etc/logstash/
and I ran the command
$ /etc/logstash -f /etc/logstash/logstash.conf
as root.
However, they told me that permission denied when I tried to do that. Is there any way to solve this?
my config file is stored in
/etc/logstash/
and I ran the command
$ /etc/logstash -f /etc/logstash/logstash.conf
as root.
However, they told me that permission denied when I tried to do that. Is there any way to solve this?
The way to solve this is to use the correct path to the logstash
executable. According to your description /etc/logstash
is a directory, not an executable file, so you cannot use that as a command.