Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[JSA] How to change the output location of get_logs.sh script

0

0

Article ID: KB27814 KB Last Updated: 28 Dec 2020Version: 2.0
Summary:

This article explains how to change the output location of the get_logs.sh script.

 

Symptoms:

The get_logs.sh script gathers all the logs and data needed for review, and saves a log file in this location:

/var/loglogs_<hostname>_<YYYMMDD>.tgz

If this location is full, users may need to save the output to another location.

 

Solution:

Complete the following steps:

  1. Navigate to the support directory using the following command:

cd /opt/qradar/support/
  1. Edit get_logs.sh.

vi get_logs.sh
  1. Change the location of SAVE_DIR="/place you want to store output/".

  2. Save and exit by using :wq!.

  3. Run sh /opt/qradar/support/get_logs.sh.

The logs should now get saved in the desired location now.

 

Modification History:

2020-12-28:Article modified to apply to JSA; article checked for accuracy

 

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search