Providing different log files depending on the underlying issue is often a vital step to further an investigation. Appian Log Generator scripts are quick and efficient ways to generate tar files of logs belonging to different Appian components. The scripts replace the manual effort required to identify, zip, compress different files and folders relevant to different Appian components. This article explains how to run the log generator scripts.
Appian Support maintains two scripts for log generation:
service-manager
search-server
data-server
Note that the script only gathers the logs from the server that the script is run on. The script should be run individually on each server that the logs should be fetched from.
The script to gather engine, service-manager, kafka, and zookeeper logs can be downloaded here.
The script to gather tomcat, search-server, and Appian data-server logs can be downloaded here.
Run the following steps to execute the script:
<
APPIAN_HOME>
/logs
APPIAN_HOME>/shared-logs/*server_name*
<APPIAN_HOME>/shared-logs/machine1.example.com/
chmod +x appian_tomcat_ss_ads_log_generator.sh
./appian_tomcat_ss_ads_log_generator.sh
This article applies to Appian 18.3 and later.
Last Reviewed: June 2023