If I understand correctly, what you are looking for is syslogging. The configuration may be slightly different depending on the platform you are using. The basic setup is: Switch(config)# logging <IP of your syslog server> Switch(config)# logging trap <Level>
The logging level can range from 0 (Emergency) to 7 (Debug), but that depends on your needs.
As far as a syslog server is concerned you have a ton of options, Graylog is open source and not too terribly difficult to set up. You can create a graylog virtual appliance by downloading the .OVA they provide, or you can set it up on a CentOS or Ubuntu server. If you have a budget and want a lot of easy, and expensive plugins Splunk is great syslogging service.
Sx550X, Sx350X, Sx250: PSE will Supply Power to Catalyst PSE Ports
May 31, 2016
June 5, 2017
Configure Remote Network Monitoring (RMON) Events Control Settings on a Switch through the Command Line Interface (CLI)
Remote Network Monitoring (RMON) was developed by the Internet Engineering Task Force (IETF) to support...