Skip to main content
Question

Extract Informtion from Logfiles

  • October 27, 2022
  • 2 replies
  • 9 views

Forum|alt.badge.img+5

I need to extract the Values from Logfiles and create an HTML report with separate columns

from this code I need the date and time ... stats (Table Names), inform (Transation Success and duration

I m using fme desktop transformer

FMEServerJobSubmitter

FMEServerLogFileRetriever

 

2022-10-27 11:52:48|  1.7| 0.0|STATS |Past Track                                                                  1

2022-10-27 11:52:48|  1.7| 0.0|STATS |Past Wind Radii                                                             1

2022-10-27 11:52:48|  1.7| 0.0|STATS |Storm Surge Communication Points                                          308

2022-10-27 11:52:48|  1.7| 0.0|STATS |==============================================================================

2022-10-27 11:52:48|  1.7| 0.0|STATS |Total Features Written                                                    878

2022-10-27 11:52:48|  1.7| 0.0|STATS |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

2022-10-27 11:52:48|  1.7| 0.0|INFORM|Translation was SUCCESSFUL with 2 warning(s) (878 feature(s) output)

2022-10-27 11:52:48|  1.7| 0.0|INFORM|FME Session Duration: 5.7 seconds. (CPU: 1.4s user, 0.3s system)

 

 

2 replies

Forum|alt.badge.img+5
  • Author
  • 170 replies
  • October 27, 2022

any one here


virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • October 27, 2022

If you really want to parse the fme log file you'll probably need to use a text file reader or CSV reader and then filter the lines for what you need​