Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Script from Logfile

Hi All,

Is there any way to get script of qlik app from its logfile? if possible please suggest.

12 Replies
Anonymous
Not applicable
Author

Thanks a lot Peter,It's very simple

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Oh Great! Another one of those v12 "improvements". Can we switch it off?

OTOH, we're not easily discouraged and still firmly believe in "You can use QlikView for (almost) anything" (although it may be easier to do it in 11.20 than in 12.xx). So what about this one :

ScriptLines:

LOAD LineNo, Mid(ScriptLine, 26) AS ScriptLine;

LOAD RecNo() AS LineNo,

     Trim([@1:n]) AS ScriptLine

FROM [YourLogFile.log] (fix, utf8);

Fortunately v12 doesn't wrap extremely wide lines anymore.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If you want to skip the first 32 lines, add

header is 32 lines

to the LOAD options