Hi,
I think on the 5900, you just need to tell which facility you want to send to. (and possibly which port the server listens on, if it deviates from the default). In this example lets say facility local5
info-center loghost <ip-address-of-rsyslog-server> facility local5
On the rsyslog server, you can do myriads of things.
Either you can use the set facilit (local5) and do something like (Property-based filters):
:syslogfacility-text,isequal,"local5" /var/log/mylocal5.log
so everything that logs towards that rsyslogserver on facility local5 goes into "/var/log/mylocal5.log" including the above configured HPE5900.
or if you want messages just from that switch (say it has management ip 10.0.1.5 ) in a particular logfile you could do
:fromhost-ip,isequal,"10.0.1.5" /var/log/my5900.log
but you probably already have somekind of system set up of how and where you want your logs to be written.
Regards.