Good Morning,
Few questions!
vpxd.log
vpxd-profiler.log
vpxd-alert.log
cim-diag.log and vws.log
ls.log
vimtool.log
stats.log
sms.log
eam.log
catalina.<date>.log and localhost.<date>.log
jointool.log
manager.<date>.log
host-manager.<date>.log
Thanks for any help!
- Patrick
1. vSphere integration for vCenter Server is only to pull events, tasks, and alarms from the vCenter Server database and ingest as though they were log messages
2. All should be fine - use the Log Insight agent
3. Currently no - notice the currently
4. Yes, the Log Insight agent support file name globbing (* and ?) - see Collect Events from a Log File
1. vSphere integration for vCenter Server is only to pull events, tasks, and alarms from the vCenter Server database and ingest as though they were log messages
2. All should be fine - use the Log Insight agent
3. Currently no - notice the currently
4. Yes, the Log Insight agent support file name globbing (* and ?) - see Collect Events from a Log File
Would this work successfully?
[filelog|vCenter-Logs]
directory=C:\ProgramData\VMware\VMware VirtualCenter\Logs
include=*.log
exclude=*.log.gz
Should not even need the exclude given the include, but yes.
I saw in the documentation that the include was "optional", what would it pull if I didn't tell it what to include?
*, which means all files are collected in directory. If you do *.log then blah.log WILL be collected, but blah.log.gz WILL NOT. If you had blah.log, blah.log.1, blah.log.2.gz then if you wanted the first two you would use *.log.* for include and then you would NEED to exclude *.log.*.gz. I hope this helps!
It does, however, would it parse a gzip? Is Log Insight smart enough that it would use one of the "z" *nic commands such as zcat to read what is inside of it? Or would it just not be able to see what is in it and ignore that.
It would be ignored. A better example would be blah.log, blah.1.log, blah.2.log and you only want to collect blah.log. You could use include=*.log exclude=*.*.log