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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

206 views 1 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