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

ItemDescription
Command typeDriver query
Required permissionNone
License usageN/A
Parallel executionNot supported
Distributed executionNot supported

Syntax

load-ml-data [path=PATH] GUID

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.idx and GUID.dat files 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 codeMessageDescriptionPost-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

  1. Load machine learning training data files

    load-ml-data path=/opt/logpresso/ml/data 550e8400-e29b-41d4-a716-446655440000
    

    Loads data files with GUID 550e8400-e29b-41d4-a716-446655440000 from the /opt/logpresso/ml/data path.