Monitoring log files

Is there a way to add duplicati failures to an event viewer log? This way I can use an RMM script to detect failure?

Welcome to the forum @Steven_Meyer

Scripting options can perhaps let you do that yourself, if that counts as a way. I don’t know all details.

https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Modules/Builtin/run-script-example.bat

The example shows appending the log file, but I suspect the event has some size cap to its contents.

Create a Custom Event in the Windows Event Viewer

eventcreate

Write-EventLog

There is no direct support for this. The logging system is built to allow multiple “taps”, so we could add an event viewer output.

Last I worked with the Event Viewer it was painful to set up a new source and target it from C#, but maybe that is easier now.