I'm having problems when using exec output.
What i'm trying is exec a command. This command is aws cli (which is installed).
However i get no errors when logstash executes the command.
I think it deals with the user "logstash" who is running logstash. I don't know how may i execute that command with another user.
If i try sudo -S ... aws ... it won't work as i don't know the password of the user logstash (created auto when installs ELK).
How may i proceed?