have to open login-audit.csv.2016-05-25.gz file ?

 i have to open it to read its contents and parse it. On Appian cloud . readcsvlog is not reading contents.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    The ".gz" implies that it's been compressed (similar to a "zip" file).  I believe you will have to download the file from System Log Files and open it in a compressed file viewer that can handle gZip format - my suggestion would be the free utility 7zip.

  • Thanks Mike . You mean Advaced Unzip utility ? how to take a log from UI to download and unzip as file is on appian cloud and i can see it on /suite/logs.

  • Mike is talking about just downloading the file and unzipping it manually. Are you hoping to parse these logs using the log reader plugin? In the plugin page on the App Market, it says: "Does not load files outside the logs directory or files that do not end in .log.* or .csv.*." so I don't think you can parse those logs using the plugin.

    Can you talk a bit more about your use case here? If you just need to retrieve the information from an old log file, it seems easiest to just download it once and unzip it. If you need to continuously return historical information on login data, you'd probably be better off creating a process that runs each day that parses the log and inserts all the login information into a database table that's easier to query.

  • Requirment is that i need to parse a week data on every Sunday.  But appian cloud i dont have log acces , whatever i see in /suite/logs/ is login audit in zip format , only today logs i see in log format which i can read in readcsv log but not the zip logs of yesterday and day before. I have to read all one week log and insert in database to ise it further.  I accomplished it in onprimise but cloud not working for me

Reply
  • Requirment is that i need to parse a week data on every Sunday.  But appian cloud i dont have log acces , whatever i see in /suite/logs/ is login audit in zip format , only today logs i see in log format which i can read in readcsv log but not the zip logs of yesterday and day before. I have to read all one week log and insert in database to ise it further.  I accomplished it in onprimise but cloud not working for me

Children