How to log ConfD commit changes and rollback configurations to a remote syslog server?

I’m working with ConfD and I want to achieve two things:

  1. Is there a way to automatically log every commit change to a remote syslog server at the moment the commit happens?
  2. Is there any command or supported method in ConfD to export all rollback configuration files (or their contents) to a remote syslog server?

Any suggestions, best practices, or examples would be greatly appreciated!

Thanks!

Hi,

It looks like from your next post: Is there a way to hide XPaths from ConfD audit commit logs?, that you found some of the capabilities.

As for rollbacks, there is nothing built in to send them off to a system server, but just as you are responsible for any rolling of the logs, you could use cron to package and ship them to a syslog server.

This would be a good place for others in the community who see this to share their experiences …

Cheers,
Scott

Thank you for the response, @sbarvick!

I understand and appreciate the suggestion, but for now, using cron wouldn’t be our first choice, as we’re trying to avoid overloading the system.

If anyone else has ideas, please don’t hesitate to share them.

Thanks