Question

Loop through multiple log files and extract information

  • 19 March 2020
  • 1 reply
  • 3 views

Hi there -

We'd like to create a workspace document that searches for log files in a series of folders (most are FME logfiles, but not all), then searches through each log file for errors, run length, etc., then update an SDE table with this information, and send some email notification on failures.

I've got no problem with adding a data reader to search for and find the log files. However, after that, is there a transformer I can use to search through each file and extract the information? Or do I need to do the search/extract via a python caller?

Thanks.

M. Knapp

 


1 reply

Userlevel 4
Badge +25
If you know the format of the strings you're looking for you could use StringSearchers with regular expressions.

Reply