How do I compare values in OPAL?

The filter command is your OPAL power tool for comparing data and reducing a dataset. Here are some examples comparisons:

filter temperature > 60 and temperature < 80
filter temperature < 30 or temperature > 100
filter hostname="www" or (hostname="api" and user="root")
filter not severity="DEBUG"