Quick reference
Operator precedence:
NOT / - > AND > OR. Use parentheses when you need a different order.
Field paths
Use dot notation to reach nested JSON fields:expand_dots: true (the default for the bundled OTel index), escape the literal dots with a backslash:
Default search fields
A query without a field name searches the index’sdefault_search_fields. The bundled otel-logs-v0_9 index searches body.message:
attributes.exception.type:ValueError.
Tokenizers and case sensitivity
A field’s index-time tokenizer decides how queries against it match. The two tokenizers used in the bundled OTel index:
This means
severity_text:error will not match a document with "severity_text": "ERROR". The index stored ERROR as a single token. Match the case your shipper sends, or filter via the UI quick-filters which know each field’s casing.
Time ranges
The Rootprint UI exposes a time picker that bounds every query to a time window. You don’t write the timestamp clause yourself. If you call the log endpoint directly, passstartTs and endTs as seconds (regardless of the field’s precision). The index is part of the URL, and you authenticate with a query API key:
Common log search recipes
Escaping special characters
These characters are reserved by the query parser and must be backslash-escaped to appear in a value:(test) in a phrase, wrap it in quotes. The inside of a phrase doesn’t need escaping. To search a single term containing parentheses, escape them: body.message:\(test\).
Limits
- A wildcard cannot be the first character of a term (
*timeoutis not allowed). Use a phrase or full-text query against the body instead. - Phrase queries require the field to be indexed with
record: position. The bundledbodyfield meets this; mostraw-tokenized fields do not. - IP fields accept individual addresses. CIDR ranges are not supported. Use a numeric range on a parsed component if you need them.
Related
- Lucene query syntax reference: the upstream specification.
- Indexes: fields, tokenizers, and the bundled OTel schema.
- Manage indexes: map message, level, and traceback for custom indexes.

