How it is possible to get list of user that are using REST API?

Hello, 

we would like to know, which user connect to JIRA via REST API, is it possible?

JIRA Software v7.2.7

I am looking forward to your reply.

Best regards,
Tatiana

1 answer

0 votes

If you have the access logs enabled, you can analyze it to find the users making a REST request. Another option is to use some monitoring tools to monitor the incoming requests.

Hi,

could you be more specific?

In the access logs I found something like this:

"GET /rest/gadgets/1.0/g/messagebundle/en_UK/gadget.common%2Cgadget.project HTTP/1.1" 200 2892 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
 "GET /rest/gadgets/1.0/g/messagebundle/und/gadget.quicklinks HTTP/1.1" 200 501 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
"GET /rest/gadgets/1.0/g/messagebundle/en_UK/gadget.quicklinks HTTP/1.1" 200 501 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
 "GET / HTTP/1.1" 200 11879 198 "-" "F5-BIGIP" "-"

Regards,
Tatiana

First, you need to make sure the username is logged. See the Tomcat access logging documentation for help. Make sure you are checking the version used by your JIRA.

Once the user name is logged, you can search for urls starting with /rest and identify the users. You might want to strip out the ones specific to gadgets or other known services but it is up to you.

Also see https://confluence.atlassian.com/enterprise/jira-access-log-analyzer-687025035.html

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot