You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please list what versions of MongoDB are support by this tool.
There have been some changes to the log format in v4.2 and in big changes for v4.4 (with structured logging). It is not clear from the changes to mtools what version of MongoDB logs are supported.
Expected behavior
Actual/current behavior
Additional context
The text was updated successfully, but these errors were encountered:
Currently only the historical log format is supported (4.2 and earlier). If your version of mtools doesn't understand the log format provided it should report an error like:
Error: <some.log> does not appear to be a supported MongoDB log file format
Support for structured logging (#806) is on the todo list but proper support for all mtools filter options requires some testing & round tuits.
Structured logs avoid the regex and special case assumptions baked into mtools at the moment and can be [parsed with standard JSON libraries and tools like jq.
Perhaps we could organise a sprint at or around MongoDB World. Will you be attending this year?
Adding statements like this to the docs is what I'm asking for.
As you whether 'mtools' processes structured logs, I still think it is useful to have all the mtools features, from the graphing of logs to the reporting and query usages is the real value add here. IMHO, the ability to parse the logs on its own isn't remarkable.
Hey guys,
I was looking into support for 4.4 log format, and if you would be organising a sprint on Mongo World, I'd be interested in joining. Let me know.
Regards,
Nikola
Please list what versions of MongoDB are support by this tool.
There have been some changes to the log format in v4.2 and in big changes for v4.4 (with structured logging). It is not clear from the changes to mtools what version of MongoDB logs are supported.
Expected behavior
Actual/current behavior
Additional context
The text was updated successfully, but these errors were encountered: