VMware Cloud Community
bikerbill
Contributor
Contributor

sending vcenter logs to a syslog server

I have reviewed older posts on the subject, and the question seems to be unanswered.   Previous answers address how to send the ESX/ESXi host log entries to a syslog server, but this is NOT what I'm interested in.

I would like to know how to send vcenter logs (the records that are apparently stored in the vcenter SQL instance) to a syslog server.   Does anyone know if there is a way to do this, or am I going to have to script against SQL to do it myself.

Thanks.

Reply
0 Kudos
4 Replies
DSTAVERT
Immortal
Immortal

I think you would need to script this. If your syslog server uses a sql data base to store log data you should be able to use a sql dump and manipulate it to import to the syslog database.

-- David -- VMware Communities Moderator
bikerbill
Contributor
Contributor

That's what I figured.   We're on SQL Server, so we'll likely use bcp.exe to accomplish this.

It just seems sort of silly that this functionality doesn't exist within vSphere.  The task and event data are particularly useful from a compliance and security perspective.

Reply
0 Kudos
DSTAVERT
Immortal
Immortal

In most respects vCenter is a syslog server. It collects and stores data from or about hosts, guests etc. Since it is already stored in a database it is relatively easy to pull out relevant information to present to any corporate information logging system and not everyone uses a syslog server.

-- David -- VMware Communities Moderator
Reply
0 Kudos
tejas201110141
Contributor
Contributor

Reply
0 Kudos