Type to search.

Types and special fields in ES|QL

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

This section details how ES|QL handles different data types and special fields.

  • Implicit casting: Understand how ES|QL automatically converts between data types in expressions.

  • Time spans: Learn how to work with time intervals in ES|QL.

  • Metadata fields: Learn about the metadata fields supported by ES|QL, including _index and _score.

  • NULL values: Learn how ES|QL handles missing, unknown, or unavailable values, and how to avoid common NULL gotchas.

  • Multivalued fields: Learn how to work with fields that contain multiple values in ES|QL.

  • Histogram fields: Learn how to query pre-aggregated value distributions stored as exponential_histogram, tdigest, or histogram fields.

  • Unmapped fields: Learn how ES|QL handles fields that aren't in the index mapping, and how to query them with SET unmapped_fields.