I want to view Confluence Logs using third party like REST APIs. Please suggest any REST API for same.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @brbojorque ,
I cannot find "Last Log for Confluence" in Atlassian marketplace. Could you help me install it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.