Add logs to an existing dataset based on filters and time range
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.
Parameter | Type | Required | Description |
---|---|---|---|
dataset_id | str | Yes | The unique identifier of the target dataset |
log_request | Union[Dict[str, Any], LogManagementRequest] | Yes | Log selection criteria containing start_time, end_time, and filters |
message
(str): Success messagecount
(int): Number of logs addeddataset_id
(str): ID of the updated dataset