Enabling the Insight Module

The Insight module allows you to collect statistics from the devices that are managed by AppViewX. Also, it displays historical statistics on demand for users.

To install Insight for statistics collection:

  1. Open the terminal.
  2. Navigate to the /home/appviewx/appviewx_kubernetes/yaml directory.
  3. Download the appviewx_kubernetes_insight_2026.1.0.0.tar.gz file.
  4. To extract the file, execute the following command:
    tar -xvf appviewx_kubernetes_insight_2026.1.0.0.tar.gz
  5. Navigate to the /home/appviewx/appviewx_kubernetes/scripts directory.
  6. To open the appviewx.conf file in the editor mode, execute the following command:
    vi appviewx.conf
  7. Set the following parameters as follows:
    • INSIGHT = TRUE
    • ELASTICSEARCH_BACKUP_HOST = <node1-hostname>,<node2-hostname>
    • ELASTIC_BACKUP_PATH = <path to store backup e.g.: /home/appviewx/elastic_backup>
  8. Search for Enabled Plugins and add the following plugins:
    • appviewx_dependencies
    • avx_insight_subsystem_adc
    • avx_insight_statistics_bot
    • avx_platform_gateway
  9. Update the data center for insight plugins as shown in the image below:
  10. Save and exit the appviewx.conf file.
  11. To install Insight, navigate to the /home/appviewx/appviewx_kubernetes/scripts directory.
  12. Execute the following command:
    ./insight_install.sh
  13. Execute the following command:
    ./plugins_install.sh
  14. To restart subsystems and vendors, execute the following command:
    kubectl delete pods "Pod name" -n "datacenter name" 
    For example:
    kubectl delete pods avx-insight-statsitics-bot-3499c69cd6-4sdfs,avx-insight-subsystem-adc-4399c69ed6-4sdfs,avx-subsystems-7666cfb459-6q4rn -n absecon
    To restart multiple Pods, enter the name of the pod in the above command with space.
  15. In the case of Insight migration, continue till point 11.
  16. Log in to the Kubernetes dashboard, enter statistics as the namespace.
  17. Select services and search for elasticsearch-insight.
  18. On the Pod, click Edit.
  19. Enter the port details as nodePort: 31403 and save as shown in the image below:
  20. To restore the elastic data, go to the old installation path of AppViewX, and execute the following command:
    appviewx --elastic-restore
  21. To connect to the elastic database, execute the following command:
    kubectl get services -n statistics
    It displays the results as shown in the image below: