LogScale Query Language Grammar Subset

The following grammar represents a subset of the LogScale Query Language. The full grammar is what is implemented by the parser in LogScale, and it contains several quirks that have been elided from this subset.

This guide is intended for programmatically generating LogScale queries — not for parsing them. If you follow the rules in this grammar, your generated queries should be parsed by the LogScale parser.