RapidMiner

Learner III kershov
Learner III

How to determine which user launched the process from the web-application?

Hello!

How to determine which user launched the process from the application?

6 REPLIES
Community Manager Community Manager
Community Manager

Re: How to determine which user launched the process from the web-application?

Hello - all user actions are recorded in the log files in RM Server.  Unfortunately the log files are rather verbose but you should be able to find what you need.

 

Scott

Scott Genzer
Senior Community Manager
RapidMiner, Inc.
RM Staff
RM Staff

Re: How to determine which user launched the process from the web-application?

Hi kershov,

 

the Process scheduler in the Web interface displays some information (see screenshot).

image.png

 

 Hope this helps.

 

Best,

Edin

 

 

Learner III kershov
Learner III

Re: How to determine which user launched the process from the web-application?

Hello, Edin! Thanks for response!

But if you run process from web application, you will not see any running processes in Process-Scheduler.

Community Manager Community Manager
Community Manager

Re: How to determine which user launched the process from the web-application?

hi...another option is to use the logging features to create your own user log.  The user can be read in Studio as the macro "_ra_user" and then use the "Provide Macro as Log Value" operator to add it to the log.  I have used this method in the past as it allows me to customize what exactly I want to log (user, timestamp, etc) and put it where I can easily access it later.

 

Scott

Scott Genzer
Senior Community Manager
RapidMiner, Inc.
RM Staff
RM Staff
Solution

Re: How to determine which user launched the process from the web-application?

Hi kershov,

 

ok, so you are referring to the Web Apps.

So let's say there is a user who changes a value in a settings component which then leads to a execution of a process. And you want to capture this user, right?

In this case Scotts proposal is the best way to go.

 

For testing you could use the Operator Print to Console and enter the macro %{_ra_user}. When this process is executed the user who executes this process is printed to the log file (i.e. server.log).

 

Best,

Edin

Learner III kershov
Learner III

Re: How to determine which user launched the process from the web-application?

Works great! Thnx!

Polls
How can RapidMiner increase participation in our new competitions?
Twitter Feed