This article explains how to change the output location of the get_logs.sh script.
get_logs.sh
The get_logs.sh script gathers all the logs and data needed for review, and saves a log file in this location:
/store/LOGS/logs_<hostname>_<YYYMMDD>.tgz
If this location is full, users may need to save the output to another location.
Complete the following steps:
Navigate to the support directory using the following command:
support
cd /opt/qradar/support/
Edit get_logs.sh .
vi get_logs.sh
Change the location of SAVE_DIR="/place you want to store output/" .
SAVE_DIR="/place you want to store output/"
Save and exit by using :wq! .
:wq!
Run sh /opt/qradar/support/get_logs.sh .
sh /opt/qradar/support/get_logs.sh
The logs should now get saved in the desired location.
2020-12-28:Article modified to apply to JSA; article checked for accuracy9/1/24 - Updated for current code save location