Logger data import-export
Consider that log storage is cleared automatically before file import.
CSV import
-
Use Service Ui compatible CSV state log files for import: UP - LoggerConfig
-
Select multiple CSV files if data from more than one file required.
Custom CSV import format
Define a custom import format at data/config.json (logger/import/state).
"logger": {
"import": {
"state": {
"header": "Timestamp;Time[ms];CtrlInstanceId;StateId;TransitionId",
"index" : {
"timestamp": 0,
"milliseconds": 1,
"object": 2,
"state": 3,
"transition": 4
}
}
}
},
-
header: Expected header line, Imported CSV file is rejected if header is not equal.
-
index
-
timestamp: Declare column index for unix timestamp cell. Column index starts with zero.
-
milliseconds
-
object
-
state
-
transition