You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Read a Log/Text file in ICS using JavaScript to scan for the repeating keywords

Received Response
23
Views
1
Comments
edited Sep 13, 2017 7:00AM in Integration 1 comment

Summary

Read a Log/Text file in ICS using JavaScript to scan for the repeating keywords

Content

Hi All,

I am trying to read a list of log/text files from a FTP server and to scan for the keywords 'ERROR'/'REJECTED'/'SUCCESS' based on which we will apply the business logic to consolidate the errors.

On the Integration,primarily i did a FTP - download to ICS for the file to be available in local ICS file system directory ( '/ICS/temp/' ) and then passed on the file full path to a JS function to return the file content.Input parameter sent to JS Call is

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!