You are currently reviewing an older revision of this page.

DRAFT KB-XXXX How to extract slim logs on Linux environments

Purpose

In order to assist with troubleshooting issues, Appian support cases may require the collection of slim log files from a specific Appian environment. This article provides instructions on how to extract slim logs on Linux environments. 

Instructions

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.

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).

Affected Versions

This article applies to all versions of Appian running 17.3 or later using Linux as the operating system.

Last Reviewed: August 2018