Convert to HTML Step
This step parses log files on the Deployment Automation agent side and provides an HTML file containing log contents and search results.
Required properties:
Property Name | Description |
---|---|
Include Files | Specify the list of files to parse, relative
to the base directory. Wildcards can be used. Specify multiple file paths as a
new-line-separated list. Default value: ${p:prevStep/logPath} |
Output Path | Specify the output file path for the resulting HTML file. |
Rules | Specify a new-line-separated list of rules to
apply to the contents of the file. The rule format is:
RuleName=RegularExpression
For example,
will find all the lines containing the regular expression
and assign it to the rule name
Rules will be applied to each log line in the order of appearance in this field. |
Optional properties:
Property Name | Description |
---|---|
Base Directory |
Specify the root directory where log parsing will be done. |
Exclude Files | Specify the list of files to exclude from selection, relative to the base directory. Wildcards can be used. Specify multiple file paths as a new-line-separated list. |
Group By | Select the way you want the output to be
grouped. Values are:
|
Output Format |
Specify the output format of each line in the output log. Special properties can be used in this field. Each special property should be specified in the following format:
Allowed properties:
Default value:
|
Fail If No Files Found |
Select this to cause the step to fail if no files are found that match the include and exclude file filters in the base directory. Default value: Not selected |
Set Colors |
Specify the list of highlight colors to apply to the corresponding rules. The format of the field is:
where RuleName is the name you assigned in the Rules property. You can set one color per rule. Colors should be specified in hex format. For example: ERROR=#FF0000 WARNING= #FF8040 SUCCESS=#008000 |