Skip to main content
Transactions provide you the ability to run aggregations on top of your logs across all other collected attributes within Middleware. This is useful for building a transactional view of your logs, selecting specific attributes to group by, and identifying broader patterns related to the log you are actively filtering. Transactions work by compiling logs based on occurrences in a series of actions, like a user’s session or a request handled across your microservice architecture. Examples of transactions range from actions within a mobile app, to function calls and CPU instructions.

Transaction Measures

Measures allow you to add aggregations across your chosen grouping attribute:

Create a Transaction

Navigate to the logs page, select the Transactions tab, choose your desired aggregation metric, and add one or multiple measures to better understand your logs.

Transaction Examples

Aggregates the container_name across all logs and then a secondary aggregation is performed specifically on containers with names that contain the subpattern or string kafka

Next Steps

Need assistance or want to learn more about Middleware? Contact us at support[at]middleware.io.