Syslog retention when deleting a node

Started by Derwood1985, February 23, 2026, 01:12:08 PM

Previous topic - Next topic

Derwood1985

Hi all,

Hoping someone might know the answer, we are looking to retain the audits, events, DCI's and Syslogs etc for node's that are being decommissioned, we are needing to keep this information for over a rolling year.
As I understand you can change the IP and Node name etc without loosing this information, but when decommissioning and deleting the node, the logs when searching in the client cannot found (this makes sense as the node is no longer there).
But is the information still within the database or are these removed too?

I'm not a sysadmin and have very little experience with databases so do not want to break anything should I go looking.

I see that NetXMS V6 has a inbuilt decommissioning function (which is great), but we cannot roll this out quickly as it would need to be signed of and a whole new project started for this to get off the ground.

Thanks
Darren

Filipp Sudanov

Audit log is retained after node deletion, same for syslog.

For event log there's Events.DeleteEventsOfDeletedObject setting in Configuration->Server Configuration, if set to true (default), they are deleted. And there's similar setting for alarms - Alarms.DeleteAlarmsOfDeletedObject.

DCI data is deleted.

If database is Postgres Timescale, then event log and DCI history is not deleted.

In all above situations when data is not deleted, it would be problematic to view it since you need to know node's ID.

New decommissioning functionality is basically node unmanage with addition of automatic deletion at later time. So for now you can just unmanage your nodes.