You are currently reviewing an older revision of this page.
Solution Engineering sometimes require customers to provide slim logs from their Linux environments. This article provides instructions on how to extract slim logs on Linux environments.
Run the following command from your <APPIAN_HOME>/logs/ directory in order to generate the required .tar file. This command will create a set of logs in your tmp directory ~200MB (note this is a multi line command).
<APPIAN_HOME>/logs/
tmp
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
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
Once this is created, please zip the logs in your tmp directory and upload it to the Support Case as requested by the Solution Engineer.
This article applies to all versions of Appian running on a Linux environment.