Exporting the Adminlog
The Adminlog export type exports a list of the changes made to the AdminClient. The contents correspond to those of the Adminlog report in the WebClient.
The generated output for this export can be either a CSV or JSON file.
In addition to the keys, that have been described in the Parameter file section, there are also other keys (listed below), which can be used for this specific export type.
Section [Filter]
Key Values
FilterFrom
Start of the time period according to which entries are to be filtered (as a timestamp in UTC format).
To output only the differences to the last export, you can specify the value “LastExecution” here. Under this key, the timestamp of the last executed export is entered in the [Result] section.
FilterTo End of the time period according to which entries are to be filtered (as a timestamp in UTC format).
LastXDays Period (in days) after which entries are to be exported
MaxLines
Maximum number of lines to be exported
100,000 is entered as the default value. This means if the complete list consists of more than 100,000 entries and nothing else has been entered, only these 100,000 entries will be exported as a result.
ComponentId Component ID by which the entries are to be filtered
Example call:
Parameter file Adminlog.ini
[Common]
ReportType=Adminlog
ExportFile=D:TestAdminlog.csv
[Filter]
FilterFrom= 2021-04-17T08:12Z
FilterTo=2021-04-21T18:00Z
[User]
Account=
Password={Password}
List of attributes that can be found in the resulting file
Colum | Descriptio |
---|---|
Actio | Display the action, for example, close, open, change |
Commen | Comment given about the action |
Computer nam | The name of the computer that was used to make the change |
Module | Display the AdminClient modules that were changed |
Tex | Text that is automatically written to the database by the octoplant system to describe the action |
Timestamp (UTC | Date of the change to the module |
User I | The ID of the user, who made the change |
Usernam | The name of the user, who made the change |