I'm new to nxlog and try to find a way to clear the Windows eventlogs during or after read/export with nxlog.

I've browsed through the manual, but can't find out how, is there a way to do this with a nxlog module/command?




AskedJanuary 18, 2016 - 1:24pm

Answer (1)

This is not possible, the windows eventlog api does not provide functions to delete eventlog records. Log retention can be only controlled externally by configuring the eventlog service.


Comments (3)

  • Runsten's picture

    Thank You, for your answers!

    Tthe powershell cmdlet could maybe be a solution for me. Retention of logs are not an option in this system due to security policies.