Get data from Login Audit.csv in distributed environment?

lHi, 

Is there any way to achieve below scenario other than log streaming form Appain?

Currently our PROD environment has 3 servers and based on the load users are navigated to different Servers. 

We would like to get login-audit.csv file from all the 3 servers. Currently with readcsvlog function we are able to get data only from the current server where the function is ran.

Any suggestions are appreciated. 

Thanks.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I have a process that does uses the "read log" plug-in function.  I found in our distribued prod environment that it had approximately a random chance of pulling the logs from one of the 3 distributed log directories if I ran several in a row.

    So I made a separate process, with a "start process" smart service node calling this subprocess (and passing its data back to the parent).  I then set this node to run on MNI 10 times, "run one at a time" (important).  All the data gets passed back to the parent process and then deduplicated - and I have proven that this will pull from all 3 login-audit.csv files, when run a sufficient number of times.  Even then, this information should be considered "approximate".

    Also keep in mind that if the environment has fairly few logins for the current day, the login-audit.csv file in some of the distributed directories might still be the data for a previous day. So whatever you implement will need to account for this possibility as well.

Reply
  • 0
    Certified Lead Developer

    I have a process that does uses the "read log" plug-in function.  I found in our distribued prod environment that it had approximately a random chance of pulling the logs from one of the 3 distributed log directories if I ran several in a row.

    So I made a separate process, with a "start process" smart service node calling this subprocess (and passing its data back to the parent).  I then set this node to run on MNI 10 times, "run one at a time" (important).  All the data gets passed back to the parent process and then deduplicated - and I have proven that this will pull from all 3 login-audit.csv files, when run a sufficient number of times.  Even then, this information should be considered "approximate".

    Also keep in mind that if the environment has fairly few logins for the current day, the login-audit.csv file in some of the distributed directories might still be the data for a previous day. So whatever you implement will need to account for this possibility as well.

Children