Skip to main content
Question

how can i Read data from API log File


Forum|alt.badge.img+5

I want some data from the log, and I am using API to get this data anyone knows which format I use in feature reader to get the data from log file

 

image

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

The FME log files are plain text, so the TextLine reader is the best to use.

 

But can you tell us a bit more about what you want to do and what data you want to get out of the log?


Forum|alt.badge.img+5
  • Author
  • December 6, 2022

I need this information in separate columns. I mean, text in separate columns and their volumes in separate columns.image 

 

 


redgeographics
Celebrity
Forum|alt.badge.img+49

If you use FeatureWriters instead of regular writers in your workspace they'll generate a summary feature, I think that holds all the information you need and it's probably a lot easier to work with than parsing the log file afterwards.

 

If you want to go with the log file parsing route, I think selecting the lines using a StringSearcher (with a regex, and unfortunately I am not *that* good with regexes) should work.


Forum|alt.badge.img+5
  • Author
  • December 6, 2022

Thanks for your response. I too not good at regex .. may be someone can help me


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