apparmor profile for a java application run run with java -jar

Viewed 790

I am working with logstash and it is unable to read some log files. To be able to read, I think I have to add a profile in apparmor but am pretty lost at this point.

  1. The app is run as: java -jar .... Do I have to add a profile for java or is there some other simpler way?
  2. Will simply adding a single line like /path/to/mylogs r work?

Thanks for any help.

0 Answers
Related