Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spool to disk: more descriptive error message (#7338)
When the file backing the queue.spool cannot be open or created, beats fail with a rather vague error message: Exiting: error initializing publisher: invalid argument This happens when the file resides in a filesystem that doesn't support mmap, like a shared virtualbox directory. Now it will output something a little bit more descriptive: Exiting: error initializing publisher: spool queue: failed to open file at path '/vagrant/src/github.com/elastic/beats/auditbeat/data/spool.dat': invalid argument (cherry picked from commit 0bfb541)
- Loading branch information