JIRA / Confluence behind httpd proxy → how to log in the apache logs the JIRA/Confluence user name

Jiri Pik January 18, 2020

Is there any way to log in the apache logs the username of the user accessing the server?

 

1 answer

0 votes
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2020

Hi @Jiri Pik 

 

The apache logs should be located in your server/file system. 

Could you give us more details on why a login is required?

Jiri Pik January 20, 2020

I have two user logs - one from httpd apache and one from tomcat apache (httpd is mod_proxying tomcat).

The httpd apache log has no jira / confluence username and I do enrich these logs with geo information - country, city, etc. The tomcat apache log has the ip address and jira / confluence username but no geo location. 

I have checked with the geo location provider and they advised they do not support tomcat server but that I might be able to get the tomcat / jira / confluence username in the httpd logs via mod_remoteip which I cannot see how it applies. 

If possible, I would like to have ONE log file with all the audit information, including rejected logins etc.

Is there any magic directive of mod_proxy or some other way I could retrieve the Apache Tomcat / Confluence / Jira username within Apache?

Like tarunsachdeva86 likes this

Suggest an answer

Log in or Sign up to answer