To prepare for sending log data from the Workspace ONE Access appliance to vRealize Log Insight, install and configure the vRealize Log Insight agent on the Workspace ONE Access appliance.

UI Procedure

  1. Download the vRealize Log Insight agent.

    1. Log in to the standalone Workspace ONE Access appliance at <standalone_workspace_one_access_fqdn>:22 by using a SecureShell (SSH) client as sshuser.
    2. Switch to the root user.

      su
    3. Download and install the vRealize Log Insight agent .rpm file.

      curl -k -o /tmp/liagent.rpm https://<vrealize_log_insight_fqdn>/api/v1/agent/packages/types/rpm; rpm -Uvh /tmp/liagent.rpm
      
  2. Configure the vRealize Log Insight agent.

    1. Configure the vRealize Log Insight agent to start automatically.

      systemctl enable liagentd
    2. Edit the vRealize Log Insight agent configuration file by using a text editor.

      vi /var/lib/loginsight-agent/liagent.ini
      
    3. In the [server] section, modify the following parameters and save the file.

      [server]
      hostname=<vrealize_log_insight_fqdn>
      proto=cfapi
      port=9000
      ssl=no
    4. Restart the vRealize Log Insight agent.

      systemctl restart liagentd
      
    5. Verify the status of the vRealize Log Insight agent.

      systemctl status liagentd
      

PowerShell Procedure

  1. Start Windows PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $wsaVmName = "sfo-wsa01"
    $wsaRootPassword = "VMw@re1!"
  3. Perform the configuration by running the command in the PowerShell console.

    Install-vRLIPhotonAgent -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vmName $wsaVmName -vmRootPass $wsaRootPassword