mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
## Summary Closes https://github.com/elastic/kibana/issues/189032 For indices with no @timestamp, when the users are transitioning from the dataview mode to the ES|QL mode then we are defaulting to ``` from dataviewIndex | where dataviewTimefield <= ?end and dataviewTimefield >= ?start ```  which will : 1. Train the users for the named params 2. Enable the histogram 3. Enable the datepicker ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Julia Rechkunova <julia.rechkunova@gmail.com> |
||
---|---|---|
.. | ||
src | ||
constants.ts | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/esql-utils
This package contains utilities for ES|QL.
- getESQLAdHocDataview: Use this function to get correctly an adHoc dataview for your query.
- getIndexPatternFromESQLQuery: Use this to retrieve the index pattern from the
from
command. - getLimitFromESQLQuery: Use this function to get the limit for a given query. The limit can be either set from the
limit
command or can be a default value set in ES. - removeDropCommandsFromESQLQuery: Use this function to remove all the occurences of the
drop
command from the query. - appendToESQLQuery: Use this function to append more pipes in an existing ES|QL query. It adds the additional commands in a new line.
- appendWhereClauseToESQLQuery: Use this function to append where clause in an existing query.