Hello Everybody
Does anyone know, whether or not logins and logouts into / out of Knime Server can be logged?
And if the creation or deletion of KNIME Server users can be logged?
I thank you in advance
Hello Everybody
Does anyone know, whether or not logins and logouts into / out of Knime Server can be logged?
And if the creation or deletion of KNIME Server users can be logged?
I thank you in advance
Hello @florblei,
thank you for getting in contact with us about your question.
Within KNIME Server there is no explicit login or logout during the time the Server runs. A user just starts using the server and stops using the server.
Adding/removing users is don via REST calls. Thus, you can see what has happened inside the localhost access logs - but not the usernames during adding (POST) though. Only when a user is removed (DELETE) from the database, the event is logged within the localhost access logs:
POST /knime/rest/v4/admin/users
DELETE /knime/rest/v4/admin/users/{username}
Please let us know, if that information helps you.
Best regards,
Kevin
Hello @kevin_sturm
Thank you for the answer.
We are using a KNIME server web interface. When we use that we have to login. What do you mean by
“Within KNIME Server there is no explicit login or logout during the time the Server runs. A user just starts using the server and stops using the server.”?
“Adding/removing users is don via REST calls.”: We add and remove users via the web-interface. Do you mean that the web-interface uses REST calls?
Sincerely,
florblei
Hello @florblei,
the user just gets access to the KNIME Server, which already runs. On the log level, there is no such login or logout event. Thus, you cannot find related events there.
Regarding the REST calls, you are right. Whenever you add/remove users in the WebPortal, the KNIME Server (in the background) uses REST calls to execute the action. Thus, you would find such actions inside the localhost access logs. They would look as follows:
10.0.2.2 - knimeadmin [21/Oct/2021:11:12:21 +0200] "DELETE /knime/rest/v4/admin/users/{username} HTTP/1.1" 204 -
Best regards,
Kevin
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.