Exporting contents of the Event Log module¶
Exports of the Eventlog type contain the contents of the Event Log module.
The export can be output as a CSV or JSON file.
In addition to the keys described in the Parameter file section, the parameter file can also contain the following keys specifically for this export.
Section Filter¶
In the [Filter] section, the following keys can be configurated:
Key | Values |
---|---|
FilterFrom | Start of the time period according to which entries are to be filtered (as a timestamp in UTC format). The date is included in the filter. To output only the differences to the last export, you can enter the value LastExecution here. The timestamp of the last executed export is entered under this key in the [Result] section. |
FilterTo | End of the time period according to which entries are to be filtered (as a timestamp in UTC format). The date is not included in the filter. |
LastXDays | Period in days for which entries are to be exported. |
MaxLines | Maximum number of lines to be exported. Default value is 100,000. This means that if the complete list consists of more than 100,000 entries and nothing is entered here, not all entries are exported, but only 100,000. |
ComponentId | Component ID by which the entries are to be filtered. |
Example call¶
Parameter file Eventlog.ini¶
[Common]
ReportType=Eventlog
ExportFile=D:\Test\Eventlog.csv
[Filter]
FilterFrom=`<2021-04-17T08:12Z>`
FilterTo=`<2021-04-21T18:00Z
[User]
Account={User}
Password={Password}
Overview of the columns that appear in the resulting file¶
Column | Description |
---|---|
Timestamp | Date of change |
Type_ID | ID of event type |
Type | Event type. Possible values: Successful, Error, Information, Warning |
Source | Data source, Server that reported the event |
Category_ID | ID of the event category |
Category | Category of the event |
Event | event |
Computer name | Name of the computer on which the event took place |
Message | Text of the message |