insights
2024.10
true
- Release Notes
- Getting Started
- Access and Permissions
- Installation and Upgrade
- Interacting with Insights
- Historical data export
- Logs
- Configuring Log Rules
- Log Collector
- Performance and Scalability
Log Collector
Insights
Last updated Oct 25, 2024
Log Collector
The Log Collector tool is a script that collects Looker logs that are located in multiple places. The script generates a zip file with most logs needed to debug the looker portion of insights by the support team.
The script works with all Insights standalone versions starting with 2022.4. It helps gather logs if you have issues with: alerts, the installation process, looker, the upgrade phase or SQL errors, or issues where a dashboard won't load or isn't visible.
- Download the Log Collector script on the Looker
VM:
# wget https://raw.githubusercontent.com/UiPath/Insights-Customer/master/Scripts/OnPrem/lookerLogCollectionScript.sh
- Change permissions:
# chmod 755 lookerLogCollectionScript.sh
- Specify log file location (optional). By default this command script writes
in your home directory. This can be changed by modifying the line:
user_home="${HOME}"
. Just change it to the desired directory if the home directory isn't where you want the logs to generate. i.e.user_home="/var/log"
If you choose to change the directory, it should be a directory where you have write permissions. - Run the script:
# ./lookerLogCollectionScript.sh
The script requires sudo and will ask for the sudo password. - The script runs even if it encounters failures. If you notice failures during execution, capture the failure message and send it to support.
- Once the script executes, the support team can analyze the zip file.