JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Technology Team
Team
Holiday List
Soft Skills Required by Software Developers
Week-End Support Rotations
Login Details
Knowledge base
More
Share
Explore
Knowledge base
Checking Mongo Logs
step 1:
goto mongolog server
step 2 :
mongo vondatech -u mongoadmin -p 'day2day2' --authenticationDatabase admin show collections
Query Example for checking inbox dump db.report_details.find({"prodname":"Ajays Takeaway Food","Action":"SocialExcel","Status" :"open"}).sort({"_id":-1}).count()
db.report_details.find({"prodname":"Ajays Takeaway Food","Action":"SocialExcel","Status" :"open"}).sort({"_id":-1}).pretty()
FOR SPECIFICALLY TAT:
db.report_details.find({"Action":"TAT","Status":"open"}).count() - to get the count
db.report_details.find({"Action":"TAT","Status":"open"}).pretty() - to display data
FOR SPECIFICALLY INBOX DUMP:
db.report_details.find({"Action":"SocialExcel","Status" :"open"}).count()
db.report_details.find({"Action":"SocialExcel","Status" :"open"}).pretty()
TO DELETE THE REPORT:
db.report_details.deleteOne({"_id":ObjectId("634511bee997b6fd18272943")})
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.