Querying in SigNoz provides a unified interface for asking questions across all three telemetry signals — logs, traces, and metrics. Whether you prefer a visual builder, raw SQL, or Prometheus-style expressions, SigNoz supports all three approaches from a single UI.
Key capabilities
- Visual Query Builder: Construct queries with point-and-click filters, aggregations, and groupings — no query language required. Autocomplete surfaces available attributes and operators as you type.
- ClickHouse SQL: Drop into raw SQL for arbitrary analytics over the underlying ClickHouse tables. Available for metrics, logs, and traces.
- PromQL: Write Prometheus-compatible queries for metric data. Useful when migrating from Prometheus or when existing PromQL expressions need to be reused.
- Full-text search: Search log bodies and trace attributes with natural filter syntax.
Get started
- Query Builder — Start building queries visually with autocomplete and expressions.
- Search syntax — Learn the filter syntax used across Logs Explorer, Traces Explorer, and Alert rules.
Query your data
- Query Builder — Visual builder with filters, aggregations, group-by, and multi-query support.
- ClickHouse SQL — Metrics — Write raw SQL against the metrics tables.
- ClickHouse SQL — Logs — Write raw SQL against the logs tables.
- ClickHouse SQL — Traces — Write raw SQL against the traces tables.
- PromQL guide — Use Prometheus-style queries for metric data.
- Full-text search — Search log bodies and trace attributes without writing structured queries.
- Advanced filter examples — Walk through complex filter and query patterns with real examples.
Reference
- Search syntax — Complete reference for SigNoz search and filter syntax.
- Operators reference — All supported comparison and logical operators.
- Functions reference — Built-in functions for query expressions and formulas.
- Field context and data types — How field context and data types work across metrics, logs, and traces.
Troubleshooting
- Troubleshooting guide — Diagnose and fix common query issues.
- FAQs — Frequently asked questions about querying in SigNoz.