mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary Closes https://github.com/elastic/kibana/issues/137810 Part of https://github.com/elastic/kibana/issues/163248 This PR is the **first iteration** of the new ES|QL language in kibana. The majority of the functionality is based on the existing functionality for SQL (which has already been merged). This builds on top of it to enable the functionality for ES|QL. We decided to remove SQL for now so this PR enables ES|QL and hides SQL. We are not removing the code for now. ### Important notes: - This PR contains basic autocomplete functionality for the ES|QL commands. We want to improve it in follow up PRs - The majority of the tests for SQL were moved to work with ES|QL instead - The search strategy is a very simple endpoint for now as we don't have async search nor pagination - Now that we remove SQL, the ui for ES|QL selection has changed - The documentation for ESQL has been handled by the docs team so it is already reviewed and in sync with the official documentation - ES|QL is disabled in serverless projects for now ### Changes from SQL: - The Discover histogram now is being created with ES|QL (using the date_trunc function). This gives it the ability to be saved on a dashboard and also to be edited inline. - ES|QL sometimes returns some warnings (on the search headers). For example when we are trying to date parse a string that doesnt contain a valid date). These warnings are also reported on the UI. There is a bug in ES and the warning doesnt come always https://github.com/elastic/elasticsearch-internal/issues/1465) - We have 2 types of commands: - Transformational commands (keep, stats) -> when they exist in the query Discover should render the Table view (selected columns) - Non transformational commands (all the others) -> in that case Discover renders the Document view - ESQL switch on advanced settings is now on by default **Discover view with non transformational commands** <img width="1678" alt="image" src=" |
||
---|---|---|
.. | ||
kibana.yml | ||
node.options | ||
README.md | ||
serverless.es.yml | ||
serverless.oblt.yml | ||
serverless.security.yml | ||
serverless.yml |
as work on serverless picks up we will add config values to these files that
define how Kibana will run in "serverless" modes. To start Kibana locally with
this configuration, pass --serverless={mode}
or run yarn serverless-{mode}
valid modes are currently: es
, oblt
, and security
configuration is applied in the following order, later values override
- serverless.yml (serverless configs go first)
- serverless.{mode}.yml (serverless configs go first)
- base config, in this preference order:
- my-config.yml(s) (set by --config)
- env-config.yml (described by
env.KBN_CONFIG_PATHS
) - kibana.yml (default @
env.KBN_PATH_CONF
/kibana.yml)
- kibana.dev.yml
- serverless.dev.yml
- serverless.{mode}.dev.yml