def get_logs_by_value(
    *,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
    **data,
) -> List[unify.Log]:

source code

Returns the logs with the data matching exactly if it exists, otherwise returns None.

Arguments:

  • project - Name of the project to get logs from.
  • api_key - If specified, unify API key to be used. Defaults to the value in the
  • data - The data to search the upstream logs for.

Returns:

The list of logs which match the data, if any exist.