Skip to main content
Question

Loop through multiple log files and extract information

  • March 19, 2020
  • 1 reply
  • 28 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

redgeographics
Celebrity
Forum|alt.badge.img+49
If you know the format of the strings you're looking for you could use StringSearchers with regular expressions.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings