GRAYLOG - Chapter 7, Exercise 2 Solution ========================================================== Excluding Debug-Level Messages with the Minus Operator PROBLEM ------- Write a query, using this chapter's own minus-operator syntax, that finds all ws-lite activity except debug-level (7) messages. SOLUTION -------- This chapter's own real minus-operator example excluded level 7 from scout's own activity: service:scout -level:7 Substituting ws-lite for scout, using the identical real pattern: service:ws-lite -level:7 ANSWER: service:ws-lite -level:7 ---- WHY THIS WORKS AS AN ANSWER This is a direct substitution into this chapter's own real worked minus-operator example. The minus operator was specifically requested over NOT here because, per this chapter's own material, NOT requires at least one other term to accompany it - the minus form is the more flexible of the two real exclusion syntaxes, usable in more query shapes without that same restriction.