Other Tricks and Recipes

Excluding Current Query from humio Queries

If you are searching the humio repository for queries, you might find that you include the current query in the results, because the query will be logged and you might be searching for a string.

To eliminate the current query from being returned in that situation, you can add a random string with a negation in front of it. This effectively excludes the current query because the negation will filter out queries matching the current string.

For example:

logscale
!selfref "groupBy"

This will search for queries containing the string groupBy, not including this query (which also includes the string groupBy).