In order to assist with troubleshooting issues, Appian support cases may require the collection of certain log files from a specific Appian environment. This article provides instructions on how to extract these logs on Linux environments.
Run the log collection script to auto-generate the required .tar file.
Run the following command from the <APPIAN_HOME>/logs/ directory in order to generate the required .tar file. This command will create a set of logs in the /tmp/ directory and then create the .tar file.
<APPIAN_HOME>/logs/
/tmp/
Note: This is a multi-line command.
tarname=$(hostname -s)-slim-$(date +"%Y-%m-%d"); \find . \( \-name engine_status.csv \-o -name "*_summary.csv*" \-o -name "service_manager*" \-o -name "zookeeper*" \-o -name “server.log” \-o -name "product_metrics*" \) | tar -cvf /tmp/${tarname}.tar --hard-dereference --files-from -; \find ./data-metrics/ | tar -rvf /tmp/${tarname}.tar --hard-dereference --files-from -; \find ./service-manager/metrics/jvm | tar -rvf /tmp/${tarname}.tar --hard-dereference --files-from -; \find ./service-manager/kafka | tar -rvf /tmp/${tarname}.tar --hard-dereference --files-from -; \gzip -f /tmp/${tarname}.tar
After running the command, upload the .tar file to the support case as requested by Appian Support. These logs do not contain any personally identifiable information (PII).
This article applies to all versions of Appian running 17.3 or later using Linux as the operating system.
Last Reviewed: April 2020