I'm new to MongoDB and am trying to track operations on my database. Based on the documentation it seems like operations like inserts should be in both the oplog and profiler, but I only see it recorded in the profiler. For context, I am making inserts in the local database in a test collection (e.g. 'local.col'), but filtering for 'local.col' only yields results in the profiler output, not the oplog.
Based on this, I'm trying to understand the differences between the two tools, as I couldn't find anything on the internet addressing when oplog doesn't log operations.