Skip to content
/ glog Public
forked from dcecchino/glog

VMware Content Packs and Extractors - including Memory/CPU/Storage /LDAP Login/Bad Login/Security Events Network snooping, and much more! Tested on Graylog 3.x

License

Notifications You must be signed in to change notification settings

petroid/glog

 
 

Repository files navigation

glog vmware content pack and extractors for graylog confirmed tested on 3.x and 4.x graylog-server

Provides Graylog Dashboards for all Hypervisors, Storage performance, DVS Messages, Vmware version, Storage path failures, Host/Device Performance issues, Memory/CPU alerts, Last list of vmotions, MAC to DVS, VMware port group to hypervisor, Last login failures, Last successful logins, Last 2 hours guests attempting network sniffing, TOP LDAP users, and Vmware virtual machines recent changes by users all in a simple to use Dashboard competely customizable! To get the best benefit make sure your graylog instance is configured for syslog UDP, and make sure to use distributed switching within vmware! Have fun! Extractions using GROK, I've not had the time to change this to regex!

New: Cohesity Extractors and Dashboard for Backups

  1. Download content_pack.json and install it under System/Input Content Packs
  2. Download vmware_vcenter_extractors and import it under the System/Inputs/Manage extractors
  3. It is recommended to apply a dedicated bucket ports/syslog input for vmware to structure your data!
  4. Make sure you point your syslog for both hypervisors and vcenters, start receiving your data. View the Vmware Dashboard.
  5. Wait for your data to start coming in.

#Enable high port on graylog server iptables

iptables -t nat -A PREROUTING -p udp --dport 514 -j REDIRECT --to 1514

iptables -t nat -A PREROUTING -p tcp --dport 514 -j REDIRECT --to 1514

Tune your esxi syslog configuration via ssh

sed -i 's/verbose/error/g' /etc/vmware/vpxa/vpxa.cfg

sed -i 's/verbose/error/g' /etc/vmware/hostd/config.xml

sed -i 's/verbose/error/g' /etc/vmware/rhttpproxy/config.xml

sed -i 's/verbose/error/g' /etc/opt/vmware/fdm/fdm.cfg

sed -i 's/info/error/g' /etc/vmware/hostd/probe-config.xml

esxcli system syslog config set --loghost='udp://update_syslog_ip_or_hostname:514'

esxcli network firewall ruleset set --ruleset-id=syslog --enabled=true

esxcli network firewall refresh

/etc/init.d/vmware-fdm restart

/etc/init.d/rhttpproxy restart

/etc/init.d/hostd restart

/etc/init.d/vpxa restart

esxcli system syslog reload

TODO list migrate extractors to reg expression

About

VMware Content Packs and Extractors - including Memory/CPU/Storage /LDAP Login/Bad Login/Security Events Network snooping, and much more! Tested on Graylog 3.x

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published