# Nutanix

1. Connect to a Controller VM (CVM) in the cluster using SSH.
2. Enter the ncli command to log into the ncli prompt

   nutanix\@cvm$ ncli

   \<ncli>

   Note: "\<ncli>" is the ncli prompt.
3. The remote syslog server is enabled by default, disable it while you configure the settings.

   \<ncli> rsyslog-config set-status enable=false
4. Add a rsyslog server using the command which adds it to the cluster.

   \<ncli> rsyslog-config add-server name=\<remote\_server\_name> ip-address=\<remote\_server\_address> port=\<rsyslog port> network-protocol=udp relp-enabled=false
5. Choose a module to forward log information from and specify the level of information to collect.

   \<ncli> rsyslog-config add-module server-name=\<remote\_server\_name> module-name=\<module\_name> level=\<log\_level>

   Replace \<module\_name> with one of the following:

   a. ACROPOLIS

   b. AUDIT

   c. CASSANDRA

   d. CEREBRO

   e. CURATOR

   f. GENESIS

   g. PRISM

   h. STARGATE

   i. SYSLOG\_MODULE

   j. ZOOKEEPER

Enable module logs at the ERROR level unless you require more information, replace \<log\_level> with one of the following:

a. EMERGENCY

b. ALERT

c. CRITICAL

d. ERROR

e. WARNING

f. NOTICE

g. INFO

h. DEBUG

6\. For e.g.: Once you configure level 6 (it's info), it also covers level 0,1,2,3,4,5 + level 6. For e.g. if you select "INFO" for a module, you don't have to select ALERT for the same module.

7\. Enable the rsyslog server.

\<ncli> rsyslog-config set-status enable=true

8\. Logs should start forwarding to the remote syslog server.

9\. Show the current rsyslog server setting and modules added.

\<ncli> rsyslog-config ls \<ncli> rsyslog-config ls-modules server-name=\<rsyslog\_name>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/nutanix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
