Clear Windows Eventlogs

Tags:

#1 Runsten

Hi!

 

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?

Regards,

Mikael

 

#2 adm Nxlog ✓
#1 Runsten
Hi!   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? Regards, Mikael  

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.