Can anyone help to update how to get the list of users logged/connected in KNIME Server via web & KNIME AP.
I see one option on the Web portal under license tab which shows the connected.
Is there any option or script we can able to fetch the list of users in the KNIME server based on the access logs?
Welcome to KNIME Forum !!
As you suggested we can get the list of users connected to KNIME Server from KNIME AP from the License tab on KNIME Webportal.
Usually the KNIME Server admin will be providing the user access to the KNIME Webportal by adding the users and consumers accounts/groups to the KNIME Server configuration. If you are the admin then you can check which groups/accounts are added and then fetch the list of users/consumers.
Access logs might provide details about logged in users and might not be accurate in providing the list of all users.
In order to understand better can we know why do we need to fetch the list of all users? Looking forward to your response.
Thank you Nagarjun for the reply.
Specifically we are looking for the list of users getting logged in/out or connected to the KNIME server daily or weekly to track the usage via Web or KNIME AP. if this possible to configure and send the user details via email based on the server access logs? Kindly advise.
As of now there is no direct way of analysing the list of users via KNIME Server, However all of the user details who access the KNIME Server are written to the locahost_access logs. You can try the below workflow(log analysis) available on KNIME HUB, log-analysis_v0.2 – KNIME Community Hub
With this workflow you can upload the downloaded logs from KNIME Server and access the localhost_access logs and filter out the necessary data.
Let me know if this helps, looking forward to your response.
Thanks Nagarjun for the reply. Nice workflow.
I have tried to execute the workflow using the local log files (.zip) but couldn’t get the Configure option enabled from the “Select Source” option. Please advise how configure for uploading the log files in the node.
the workflow was started with the idea of being run in the WebPortal. Hence, the node is configured in the view (Execute and Open Views) or when run in the WebPortal.
You can of course also go into the component and change it to use configurations rather than widgets.