Command Line Parameters

You can create your Log Parser Lizard command line from Run With Parameters dialog box by choosing the available  options then click on Copy Command Line to Clipboard button.

These are command line parameters for Log Parser Lizard:


-file=”path”

Path of the batch file or log parser lizard query file you want to run.

-const=”KEY=VALUE”

Set or add new constants after running the application. For instance

-const=”SERVERNAME=MyServer

Will set the constant SERVERNAME to value “MyServer” and can be used in queries like SELECT * FROM #SERVERNAME#

-qset=”path”

Path of the query set file you need to load before loading the queries. If not specified, default query set will be loaded. –qset=SQL will load the queries from SQL database

-qid=”QUERY ID”

ID of the query you want to load/run. Multiple qid parameters can be set.

-outdir=”path”

Path to the output directory if you want to save the output to a file (see Flags). If not set, default output folder is used (see the application settings)

-outfname=”name”

The output file name if you want to save the output to a file (see Flags). If not set, default is query name.

-runcmd=”command”

Run this command after each file is created

-run=”true” or --run

Run the queries after loading the batch file and/or queries from IDs. Default is false (queries are loaded but doesn't run).


Flags:

You can set these flags to save the output to a file or to end application after the execution of the query is finished.

--SaveGridToXlsx
--SaveGridToXls

--SaveToPDF
--SaveToWordRTF
--SaveToHTML
--SaveToMHT
--SaveToXlsx
--SaveToXls

--SaveToTSV
--SaveToCSV
--SaveToXML
--SaveToTextFile

--SaveChartImage

--SaveDashboardImage
--SaveDashboardPdf

--SaveReportPdf
--SaveReportRtf

--AppendDateToFolderName
--AppendDateTimeToFolderName
--AppendDateToFileName
--AppendDateTimeToFileName

--DontSaveEmptyReports
--SendEmail (sends email with attached file to default email address set in application settings)

--SuppressMessageBoxes

--CloseWindowOnFinish
--CloseApplicationOnFinish


Auto run query parameters:


-AutoRun="false"
True or false to activate automatic running of queries

-AutoRunIntervalInSec="N"
N is the number (integer) of seconds to wait between each run)

-AutoRunStopAfter="N"
Stop after N runs (N is an integer number)

-AutoRunStopOnError="true"
True to stop auto run on the first error. False to ignore errors and continue the auto query run.

Sample command lines:

"Log Parser Lizard.EXE" -quid=10264173F1624038AEE83485BD09BB39 -quid=FE2A1BE4941B4C8EA3AF5F9D3C7D39BA -quid=64C93FFDDFC4451388B33F8A94B92BFC -outdir="D:\My Documents\My Desktop\LPLTESTOUT" --SaveToXlsx --CloseWindowOnFinish --CloseApplicationOnFinish --run

"Log Parser Lizard.EXE" -file="D:\My Documents\My Desktop\LPLTESTOUT\Log Parser Lizard Batch.lplbat" --SaveToPDF --AppendDateToFileName
--CloseApplicationOnFinish --run

Feedback and Knowledge Base