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
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
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?
I need this information in separate columns. I mean, text in separate columns and their volumes in separate columns.
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.
Thanks for your response. I too not good at regex .. may be someone can help me