I have been assigned to configure syslog-ng on a linux device to perform in a certain way. I am fairly new to working with syslog-ng, so please have that in consideration when replying.
Following statements explain the prerequisites for the configuration:
- Send data to a specified IP (can't show here)
- If the device with the IP above can't be reached, then buffer to memory
- When memory is full, buffer to file
- When a file is full create a new one, once 5 files has been created start overwriting the first file (like a round robin process)
What I need help with is understanding how I configure syslog-ng to perform the memory and file prerequisites.
Any help is much appreciated!