Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any way to view Confluence Logs using third party like REST APIs

I want to view Confluence Logs using third party like REST APIs. Please suggest any REST API for same.

1 answer

0 votes

Hi @SWAPNIL SRIVASTAV ,

You can use this LastLog plugin, this is a free add-on.

https://marketplace.atlassian.com/apps/1216685/last-log-for-confluence?hosting=server&tab=overview

After that you can then access the endpoint below, it will either output an HTML or Plain text.

You need to include the Basic Auth in order for you to access the log.

Plain Text 

GET https://BASE_URL_WIKI/rest/lastlog/1.0/log/atlassian-confluence.log?maxEntries=500&query=

HTML

GET https://BASE_URL_WIKI/rest/lastlog/1.0/log/html/atlassian-confluence.log?maxEntries=500&query=

Hello @brbojorque ,

Using the plugin, can only admins view logs or normal user can also view?

Also, is there any REST API that you can help me with, if we think of other ways apart from this plugin.

Much Thanks,

Swapnil

Hello @brbojorque ,

I cannot find "Last Log for Confluence" in Atlassian marketplace. Could you help me install it

brbojorque Community Leader Jan 02, 2020

Hi @SWAPNIL SRIVASTAV ,

What version of Confluence do you have right now?

Is this an internal instance? Can it access the internet to download the app?

Please provide screenshots aswell.

Hi @brbojorque ,

I am using Confluence 6.6.8. It is VDI and I cannot access internet over there.

Confluence.JPG

brbojorque Community Leader Jan 02, 2020

Hi @SWAPNIL SRIVASTAV

Download the latest version using this link in your computer and manually upload it in your Confluence instance.

https://marketplace.atlassian.com/apps/1216685/last-log-for-confluence/version-history

There should be an Upload app in the UPM click it and point the file you have downloaded.

Hello @brbojorque ,

Thank you for your continuous response.

I have tried the plugin but it only works for jira-admins. I need to let the end user view logs.

Best Regards,

Swapnil

brbojorque Community Leader Jan 05, 2020

@SWAPNIL SRIVASTAV ,

Why? logs will have sensitive information written into it. It is best the only admins have access to it.

You are opening your instance to vulnerability attacks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

190 views 9 11
View question

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you