dev_docs/lens/dataset.mdx
datasetThe dataset configuration within the Lens Config Builder API defines the source of data for a visualization.
LensESQLDataset):esql: A string containing the ES|QL query. ES|QL is a powerful query language that allows for complex search and aggregation operations, making this dataset type particularly flexible and powerful for advanced data retrieval scenarios.LensDatatableDataset):LensDataviewDataset):index: The ID of the data view or the name of the Elasticsearch index pattern.timeFieldName (optional): The name of the field used for time-based operations, providing context for time range queries and aggregations.