Managing Logs using AppViewX Nodes

You can also view and manage the log files even if you do not have Kibana installed. In this case, you can use the AppViewX nodes to view and manage the log files. You can also view logs using the command line interface before you install the ELK.
Note: Logs are maintained as per the retention policy. Any log exceeding 30 MB will be rotated and archived as part of the data retention policy.
To view the logs:
  1. Log in to the respective node.
  2. Navigate to the appviewx/dependencies/logs directory. You can view the CLI logs for pods in the same node.

To view the logs from the AppViewX nodes:

  1. Using the command line interface, log in to the AppViewX node.
  2. To fetch the node name in which the pod is running, execute the following command:
    kubectl get pods- n <dc> -o wide
  3. Log in to the respective node using SSH.
  4. Navigate to <INSTALLATION_PATH>/logs for all log files.
    For example, If you want to view the logs for the subsystem plugin in the datacenter DC1, execute the following command to get the node name of the pod:
    kubectl get pods -n DC1 -o wide
Note: For troubleshooting issues, please refer to the Troubleshooting section.