Set permissions for file created using output plugin

Is there a way to set specific permissions for a file when it is created by file output plugin in logstash?

output {
  if "ERROR" == [@loglevel]{
    file {
          path => "/logs/consolidated-errors.log"
        }
    }

The plugin itself has no such feature and I can't come up with another clean way of doing it either, unless it's doable by setting the umask in the init script (or equivalent)?