Overview
The Smart Service, Import Login Audit, will read your login audit file(s) and populate a database with information about logins. This is provided mainly as an example (source code provided) as you may need to modify the smart service to make it work with your environment.
Eduardo Fuentes I dont see the above code in the plugin src when i download it from App market. Is it updated version and available anywhere to download?
Below is what i see in com.appiancorp.loginparser-1.0.2.jar - com.appiancorp.loginparser.ImportLoginInformation.java
Code:
------------
String logsPath = ConfigurationLoader.getConfiguration().getAeLogs();
String dateString = "";
if(date != null){
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
dateString = "." + dateFormat.format(date);
}
LOG.debug("Reading file: " + logsPath + "/login-audit.csv" + dateString);
processLogins(logsPath + "/login-audit.csv" + dateString);