Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (11 sloc) 836 Bytes

cef - a CEF and Syslog Logging Library

CEF is a proprietary format by Arcsight that details how to format messages for easy integration into Arcsights NSM products. Arcsight controls the standard, and it can be requested here.

This is a basic library for implementing CEF logging using a simple API.



cef.generateCEF(...) to generate a string that is formatted as a CEF log entry


cef.syslog(...) to generate that string and write it to syslog

See example.js for a detailed example on how to use the API.


Currently none; a copy of the syslog library from is included with some inline patches to remove some extra bits that interfere with CEF.