Page 1 of 1

How to get string from log file ?

Posted: Fri Apr 20, 2018 9:38 am
by Moder
tm1server.log show the information of processes and date time that event occurs.

Which tm1 command can handle this issue ? And how to use it ?

For Example : If I want all error information from that latest process, what should I do ?

Thank you for your help

Have a nice day

Re: How to get string from log file ?

Posted: Fri Apr 20, 2018 5:05 pm
by Wim Gielis
Hello

Process this file in Turbo Integrator as a text file data source.
The Metadata and Data tab of the process will allow you to write code to act on each line of the file.
Typical functions to use will be Scan, Subst, Delet, and then of course DimensionElementInsert, CellPutN/S, CellIncrementN, ... just to store this information in a cube.