oarevalo / BugLogHQ

BugLogHQ is a tool to centralize the handling of automated bug reports from multiple applications. BugLogHQ provides a unified view of error messages sent from any number of applications, allowing the developer to search, graph, forward, and explore the bug reports submitted by the applications.
http://www.bugloghq.com
154 stars 67 forks source link

Possible to write a discard rule using full-text search? #52

Closed atuttle closed 11 years ago

atuttle commented 11 years ago

I'd like to add some more discard rules but in order to be useful I'd need to be able to include a full-text search as part of the rule. Is this possible currently? If so, I'm missing it...

oarevalo commented 11 years ago

Not really, it only looks at the message text. However extending the rule to add more lookup fields should be trivial. There is a function named "matches" which is where the matching logic resides. Just modify the function to look at whatever fields (or combination of fields) you need.

Maybe a good addition to the existing rule would be a "Text" property that would look at (message+error message+error detail+htmlreport) for matches.

Do you think that would do for your use case?

atuttle commented 11 years ago

I think that would do just fine.

Adam

On Mon, Jun 3, 2013 at 12:23 PM, Oscar Arevalo notifications@github.comwrote:

Not really, it only looks at the message text. However extending the rule to add more lookup fields should be trivial. There is a function named "matches" which is where the matching logic resides. Just modify the function to look at whatever fields (or combination of fields) you need.

Maybe a good addition to the existing rule would be a "Text" property that would look at (message+error message+error detail+htmlreport) for matches.

Do you think that would do for your use case?

— Reply to this email directly or view it on GitHubhttps://github.com/oarevalo/BugLogHQ/issues/52#issuecomment-18852891 .

oarevalo commented 11 years ago

Hey Adam, I implemented this on the 1.8 branch. Let me know if that's what you had in mind.