log create¶
This command creates a new custom log in the platform.
What are the arguments?¶
| Argument | Required | Description |
|---|---|---|
| -activityLabel | Yes | The label that will be used as the log identifier. |
| -columns | Yes | JSON representation of the columns to be created. |
| -repository | No | The repository where the log will be created. Default is the DEFAULT repository. |
Columns¶
The columns are a defined as a JSON list of column objects with the following structure:
[
{
name: "Date/Time",
label: "timestamp",
width: "150"
},
{
name: "Records",
label: "numRecords",
width: "100"
},
...
]
Where:
nameis the display name of the column.labelis the internal name/identifier of the column.widthis the suggested width of the column in pixels.
Examples¶
Create a new log with label demoLog with the columns Date/Time and Records: