This reference includes examples for the syntax information for the aria-logs command.

Table 1. Command
Command Description
aria-logs Configures and pushes various logs to the VMware Aria Operations for Logsserver.
Table 2. Syntax
Flag Description
show Shows the configured VMware Aria Operations for Logs agent and status
set --ip-fqdn <IP> --port <PORT> --tags <"KEY=VALUE"> Configures/resets and enables the VMware Aria Operations for Logs agent.

Mandatory flag: --ip-fqdn

Optional flag: --port <PORT> --tags <"KEY=VALUE">

If you do not specify port and tags values, then defaults values are selected. Default port value is 9543.

enable Starts the VMware Aria Operations for Logs agent.
disable Stops the VMware Aria Operations for Logs agent.
diagnose -n <NUMBERS OF LINES> Displays VMware Aria Operations for Logs agent logs.
Table 3. Example
Usage Examples

aria-logs set --ip-fqdn=<IP> --port =<PORT> --tags <"KEY=VALUE">

or

aria-logs set --ip-fqdn <IP> --port <PORT> --tags <"KEY=VALUE">

aria-logs set --ip-fqdn=172.1.1.1 --port=8080 --tags="type=onPrem,domain=us"

or

aria-logs set --ip-fqdn 172.1.1.1 -–port 8080 –tags "type=onPrem,domain=us"

aria-logs show aria-logs show
aria-logs enable aria-logs enable
aria-logs disable aria-logs disable
aria-logs diagnose -n <NUMBERS OF LINES> aria-logs diagnose --n 50