Nutanix basics – configure remote syslog server on Nutanix

Sending logs to an external syslog server is very common practice across many industries. The main reason to send logs to the external location is security or industry compliance. It helps to find out the root cause of the problem, despite de fact logs on the source system could be deleted or modified, or overwritten, or the platform itself may be gone or inaccessible.

Nutanix recommends keeping central syslog server in a dedicated security zone behind the firewall with very limited and strict access.

You can configure multiple remote syslog servers on a single Nutanix cluster. The log levels supported by rsyslog are debug, info (recommended), notice, warning, error, crit, alert, and emerg.

Below you can find two ncli commands needed to configure log forwarding from Nutanix cluster.

cvm$ ncli rsyslog-config edit-server name=nodeA ip-address=IP_address
port=514 network-protocol=tcp relp-enabled=no
cvm$ ncli rsyslog-config add-module module-name=syslog_module level=info servername=nodeA

NOTE:
If you are configuring syslog on Nutanix AHV cluster, the system will send logs from AOS (Acropolis Operating System) and Nutanix AHV. However, if you are running VMware ESXi or Microsoft Hyper-V as a hypervisor, you will have to configure remote syslog server on hypervisor separately.


If you are looking for information about what ports are used by syslog, see my blog post – Nutanix port diagrams for detailed information

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest