Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix make_mongo_filter #13

Merged
merged 1 commit into from
May 20, 2015

Conversation

GuusH
Copy link
Contributor

@GuusH GuusH commented May 20, 2015

I'll log an issue with all the details. Suffice it to say here: the arribute 'message' was missing in the 'good_attributes' and 'string_attributes' lists, which caused this module to get all logs from mongodb as it generated a wrong filter when using the reporting functionality in Thruk instead of the relevant logs.
It used to get several tens of thousands of log entries, on which this module choked later on. This doesn't solve the choking, but it does make sure that it only grabs the relevant logs and as long as that's a not insane amount, it can be processes just fine. My test reports which reliably always broke this module now work just fine.

@GuusH
Copy link
Contributor Author

GuusH commented May 20, 2015

See #14

@olivierHa
Copy link
Member

Great job finding this issue !

olivierHa added a commit that referenced this pull request May 20, 2015
@olivierHa olivierHa merged commit 451d723 into shinken-monitoring:master May 20, 2015
@gst
Copy link

gst commented May 20, 2015

yeah +1 to you @GuusH :)

@GuusH GuusH deleted the fix_make_mongo_filter branch May 22, 2015 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants