Forums

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

Log REST API requests on Jira Server

Shamanth
Contributor
July 14, 2023

Hi,

I am trying to log all the REST API requests that hit my Jira. I have enabled the HTTP Access log under the Logging and Profiling, but when I download and open the logs, the file "atlassian-jira-http-access.log" does not have the entire request URL. For eg. I have sent a few requests via Postman, but the logs have not captured the URL part after the "/rest/api/2/search/". 

I want Jira to log the entire request because I need that data to calculate a statistics based on the request. Below is the screenshot of one of the log imported to excel for better viewing. You can see that the column J is empty.

Screenshot 2023-07-14 160428.png

1 answer

0 votes
Rudy Holtkamp
Community Champion
July 14, 2023

Hi @Shamanth ,

If you are using NGINX in front of your server, you should take a look at this article.

Shamanth
Contributor
July 17, 2023

Hi @Rudy Holtkamp

Thanks for the hint! I did find the access logs under the nginx folder.

Any idea how I can download these logs onto my local PC and read it? I currently don't have access to the server since it is managed by another team.

Suggest an answer

Log in or Sign up to answer