Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Sep 24, 2019

Aggregation Pipeline on Database Scope

I would like to run aggregation pipeline commands against a database.  Specifically, I will want to build a pipeline where a step includes executing $currentOp on the admin database to gather running and dormant processes. The Compass application does not present the aggregation pipeline builder UI until after a collection is selected in scope.  This leads to the stage not executing on the admin database and instead presenting an error message: $currentOp must be run against the 'admin' database with {aggregate: 1}
  • Attach files