Hello @Chuong_LA
here are some lines to support by example:
mlogfilter 'mongod.log' --word exception
filter all log lines with the string “exception”
mlogfilter ‘mongod.log’ --word exception
--namespace <db.colloection> | mplotqueries`
filter all log lines with the string “exception” and visualize
The dots can be clicked and will show the actual log line.
There are plenty more options with mlogfilter and the mtools. So I like to encourage you to do further reading to get the maximum out of it as a start you basically only need to install the mtools and go with the fist example.
Regards,
Michael