Skip to main content

Overview

The add_logs_to_dataset method allows you to expand a dataset by adding more logs that match specific criteria. This is useful for creating comprehensive datasets that include different types of logs or extending the time range of analysis.

Method Signature

Synchronous

Asynchronous

Parameters

Returns

Returns a dictionary containing:
  • message (str): Success message
  • count (int): Number of logs added
  • dataset_id (str): ID of the updated dataset

Examples

Basic Usage

Asynchronous Usage

Error Handling

Common Use Cases

  • Expanding datasets with logs from specific time periods
  • Adding error logs for failure analysis
  • Including logs from specific models or users
  • Building comprehensive training datasets with filtered criteria