Overview
Plug-in Notes:
Key Features & Functionality
The Appian Log Reader Plug-in contains functionality to:
Hi Team ,
I am some issue, I am trying the below expression but only getting the header values.
readcsvlog(csvPath: "login-audit.csv",startIndex :1,batchSize:20)
Currenlty we are working on Appian version 24.1
thanks
Hi
I've been using the Plug In function without issue - I find you have to specify all input values on the function. even if they are null. Some functions within the plug in seem to expect all inputs named even if they are null. There may also be some error output listed in STDOUT that can help determine what the issue is.
I've been using the readcsvlogpaging function without issue - if you try setting the other inputs to {} or NULL that may work.
fn!readcsvlogpaging( csvPath: "login-audit.csv", startIndex: ri!pagingInfo.startIndex, batchSize: ri!pagingInfo.batchSize, filterColumName: "Timestamp", filterOperator: "startsWith", filterValue: local!convertedToday, timestampColumnName: "Timestamp", timestampStart: now() - intervalds(0,ri!pastMinutes,0), timestampEnd: now() ),
In my use case I'm only looking for Todays log in records and within a specified time frame - hence the use of timestamp filtering.
Hope this helps.
Hi Gus Lines , I tried that as well but no response yet.
Hi Shubham,Have you tried posting this as a discussion post in the plug-ins category? Plug-Ins If that doesn't help, you can report an issue from the right-hand side of the page on this page.
I am using this function first time , we haven’t used this function before. Yes it is the problem only with login audit
Are none of the logs working or is the problem only with login-audit.csv? And was this working for you prior to upgrading to 24.1?
Hi Appian AppMarket Can you please help on this query?
Hi max.carp I tried that as well , but Still no rows are getting returned .
To include paging info as above, you should use the function readcsvlogpaging(), as in:
readcsvlogpaging(csvPath: "login-audit.csv",startIndex :1,batchSize:20)