Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to push jira logs to syslog-ng

Ville Niiranen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2018

Hello!

I have been meaning to push Jira logs to a graylog server for Qradar to collect it and parse as needed. Has anyone been able to configure the log4j.properties file correctly ? I have been having some issues

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2018

Hello Ville,

Details on configuring the log location in the log4j file is covered in this KB:

What errors are you running into? Also, noting that the "Support Tool - Log analyser" tool in Jira does not detect this change and will try to scan ${HOME}/log/atlassian-jira.log only.

An alternative to this is to leave the log4j config alone and use a symbolic link for the logs directory to the desired location, to do this:

Linux:

ln -s /path/to/file /path/to/symlink

Windows:

mklink /J C:\path\to\symlink E:\path\to\file

But Please note that Jira's performance will come in to play if there's any considerable delay on reading or writing files from another drive.  As an example, if the logs are moved to a network drive, and network communication is interrupted there will be no logging on the errors generated and can make it difficult to track down issues.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer