New source: Apple macOS OSLog #21519
Labels
source: new
A request for a new source
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
It would be great to have native macOS OSLog source support in Vector as wrapping
log
command is very cumbersome due to sandboxing.Attempted Solutions
On first glance it looks like you should be able to use exec source with
log
command but due to Apple sandboxing it doesn't work. Workaround is to have a separate script with enough privileges to write the system log to a file and then use file source to consume it in vector.Proposal
There is some prior art available in syslog-ng darwin-oslog plugin and a Rust Library
References
No response
Version
No response
The text was updated successfully, but these errors were encountered: