Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Pushing atlassian-jira-security.log to Syslog but keep writing events to a local file

Daniel Ebers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 02, 2022

Hi Community,

although I feel this could be a rather special question for log4j it might not hurt to ask if the following is something you have done in your environment successfully...

Basically all is about logging, many details you even can learn from knowledgebase:

In we see the usual configuration that is delivered when Jira is installed for logging security related events to atlassian-jira.log

log4j.appender.securitylog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %t %X{jira.username} %X{} %X{} %X{jira.request.ipaddr} %X{jira.request.url} %m%n

This works, of course, great - this is the default.

The ask now was to deliver the security related events to syslog - which also works using this configuration:
log4j.appender.securitylog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %t %X{jira.username} %X{} %X{} %X{jira.request.ipaddr} %X{jira.request.url} %m%n


However, I seem to be totally stuck when the ask is to combine both .. having security related information in both locations:

  • syslog


  • atlassian-jira-security.log

In case there is an easy way to achieve that goal I would be very happy, from what I found out the appender (securitylog) must be unique. It is not capable of delivering events to both destinations, syslog and file at the same time unless I am missing a point?



2 answers

0 votes
Andrew Laden
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 07, 2023

Looking outside of jira's logging, there are ways to take a log file and forward it to syslog.

Using the logger command with some scripting.

Or using the test logfile input of rsyslogd or similar for syslog-ng

Hello I've the same needs but i can't succeed.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events