compositions
group_logs
Groups logs based on equality ’==’ of the values for the specified key, returning a dict with group indices as the keys and the list of logs as the values. If the keys are not versioned, then the indices are simply incrementing integers.
Arguments:
key
- Name of the log entry to do equality matching for.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
Returns:
A dict containing the grouped logs, with each key of the dict representing the version of the log key with equal values, and the value being a list of logs.