load-ml-data
Loads machine learning training data from Logpresso data files (.idx, .dat) at the specified path. This command is used internally during the machine learning model training process in the Logpresso Sonar web console.
Command properties
| Item | Description |
|---|---|
| Command type | Driver query |
| Required permission | None |
| License usage | N/A |
| Parallel execution | Not supported |
| Distributed execution | Not supported |
Syntax
Options
path=PATH- Directory path where the data files are stored. If omitted, the default data path is used.
Target
GUID- GUID of the data file to load. Reads
GUID.idxandGUID.datfiles from the specified directory.
Output fields
All fields of the records stored in the data file are output as-is.
Error codes
Parse errors
N/A
Runtime errors
| Error code | Message | Description | Post-action |
|---|---|---|---|
| - | - | A RuntimeException is thrown when the file cannot be found or read. | Query fails |
Description
The load-ml-data command reads records sequentially from index files (.idx) and data files (.dat) in the Logpresso v3p file format and outputs them. It reads PATH/GUID.idx and PATH/GUID.dat by combining the file path and GUID.
This command is used internally when loading training data from the machine learning model training screen in the Logpresso Sonar web console, and is rarely used in general queries.
Examples
-
Load machine learning training data files
load-ml-data path=/opt/logpresso/ml/data 550e8400-e29b-41d4-a716-446655440000Loads data files with GUID
550e8400-e29b-41d4-a716-446655440000from the/opt/logpresso/ml/datapath.