Question

Extract Informtion from Logfiles

  • 27 October 2022
  • 2 replies
  • 4 views

Badge +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

Badge +5

any one here

Userlevel 4
Badge +26

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​

Reply