Home
Logz.io
Logz.io Search Request
Logz.io Search Request
Request body for the Logz.io /v1/search API. Wraps an Elasticsearch-compatible query DSL payload, optionally targeting specific accounts and time windows. Mirrors the upstream Elasticsearch _search request body so existing Lucene / DSL queries port unmodified.
Observability Logging Metrics Tracing SIEM ELK Elasticsearch OpenSearch Prometheus Grafana OpenTelemetry AIOps Cloud Observability Managed ELK Cost Management
Properties
Name
Type
Description
query
object
Elasticsearch query DSL. Supports bool / match / range / term and aggregations.
from
integer
Result offset for pagination.
size
integer
Maximum number of hits to return.
sort
array
Sort clauses applied to the result set.
_source
object
Source filtering — boolean or array of field names.
aggs
object
Aggregations block, mirroring Elasticsearch _aggs semantics.
accountIds
array
Optional list of associated account IDs to scope the query across the multi-account hierarchy.
accountIdsAndNames
array
Optional list of accounts identified by both id and name.
JSON Schema