Skip to main content
June 13, 2023
Question

Log reader

  • June 13, 2023
  • 11 replies
  • 0 views

Hi, are there any options in the readcsvlog plugin to extract specific columns? And how that csv can be stored in a table?

    11 replies

    stefanhelzle0001
    Brainy
    June 13, 2023

    When you download the plugin from the app market, it should include the documentation.

    To store that data to your database, create a record with the required fields and create a scheduled process that reads the log and stores the data.

    June 13, 2023

    Can you help on how to extract specific columns?

    June 13, 2023

    Why not just index them explicitly in a rule?

    a!forEach(
      items: readcsvlog(csvPath: "login-audit.csv").rows,
      expression: index(split(fv!item, ","), 3, {})
    )
     

    harshitb6843
    June 13, 2023

    Csv can be stored in a table using the Excel tools plugin. Find it here - community.appian.com/.../excel-tools