Log4j log monitoring

Ozzy
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!
July 29, 2022

The Microsoft Monitoring Agent has limitations they refer to as "criteria" which must be adhered to in order for it to successfully collect logs (see https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-custom-logs) i.e. log rotation not supported which is the default of Confluence and Jira. ( Servers are also on Azure Vm.s)

log4j in Jira and Confluence out of the box does not support the requirements (or at least I am not experienced enough to figure it out).

Is there any tools or solutions for this ? We need to collect our logs here but our workaround of "appending the contents to a single file for each day from which Microsoft Monitoring Agent is able to collect logs successfully and upload " causes too much IO in the system and causes performance problems & crashes for jira & confluence. 

Any suggestions  ? How can we send these logs to Azure shortly? 

Kind regards,

1 answer

0 votes
Nihar Kumar Dalai June 1, 2023

@Ozzy  Did you manage to have a solution for this ?

Ozzy
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!
June 1, 2023

Well instead of using windows, having linux servers for it kinda automatically solves the issue.. When we changed the servers we used linux this time.

Like Nic Brough -Adaptavist- likes this
Nihar Kumar Dalai June 8, 2023

But I see that these constraints still apply on Linux no ? Can you help withe below queries ?

1. Which all log files are you forwarding to Log Analytics ? audit log, catalina log, custom script logs etc ?

 

2. Are you using File pattern or directory ? I think directory must have older log files as well..does Azure Analytics handle them fine ?

 

3. Are you by any chance using App Insights & VM Insights as well ?

Thank you in Advance !

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events