VMware Cloud Community
Hramoff
Contributor
Contributor

whether it is possible to select what data to send on syslog?

I set up logging, but the fact is that VCSA sends a large number of unnecessary logs, more than 12000 per minute. I want to know if it is possible to choose which logs I can send and which I don't need

I give an example of configs:

<134>1 2023-03-19T10:51:28.792214+00:00 vs vsan-health-main - - - (vim.cluster.VsanObjectSpaceSummary) {
I don't want to store such a field

<14>1 2023-03-19T10:37:08.771275+00:00 vs vpxd 17644 - - Event [29210] [1-1] [2023-03-19T10:37:08.770929Z] [vim.event.VmRemovedEvent] [info] [VSPHERE.LOCAL\Hramoff] [Datacenter-1] [29208] [Removed <mark>CLI</mark> on esxi2.vs.loc from Datacenter-1]

and this is the field I want to store

0 Kudos
1 Reply
mannharry
Hot Shot
Hot Shot


You can enable the logging level on the vCenter level though.

Reference: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenter.configuration.doc/GUID-0439...

But as per the logging set, it will send the relevant logs to the Syslog.

Regards

Harry

0 Kudos