Skip to main content
100%

My attempts to write an event from R to the syslog in ArcSight CEF

✓ Published0🌍 Public
FFrieseWoudloper
Last edited Jun 16, 2020
Created on Jun 16, 2020

This example demonstrates the struggle to write a properly formatted ArcSight CEF event to the system syslog from R. It shows two attempted approaches: the `rsyslog` package, which successfully writes to the syslog but prefixes the message with an unwanted process identifier, and the `log4r` package, which offers custom layouts for console and file appenders but fails when writing to `/var/log/syslog` due to permission errors. The code uses `syslog()`, `open_syslog()`, `create.logger()`, `console_appender()`, and `file_appender()` to illustrate the differences.

AI-generated description

Similar vizzes