mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
## 📓 Summary Closes #153890 The implementation creates a new LogsApp service where we should keep any logic concerned with what `target_app` parameter is configured and the actions related to a specific configuration. I thought it could be a good approach to avoid drilling down the global config till we need it and keep it cleaner by injecting only the service with predefined actions. In this first case, we create a redirect to discover using its locator, and the exposed method can be used anywhere across the app for triggering the redirect. ## 🧪 Testing ### Normal behaviour When Kibana is used as always, we want to keep the current behaviour and the user will stay on the Logs UI pages. - Launch the Kibana dev environment with `yarn start` - Navigate to Logs UI - Verify the navigation works normally and that no redirect to Discover occurs ### Serverless behaviour When Kibana is used in serverless mode, we want to redirect any user landing to Logs UI to the Discover page, configuring the same data view or creating an ad-hoc one starting from the index pattern - Launch the Kibana dev environment with `yarn serverless-oblt` - Navigate to Logs UI - Verify to be redirected to Discover and a temporary data view is created from the current index pattern --------- Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
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
- kibana.yml
- serverless.yml
- serverless.{mode}.yml
- kibana.dev.yml
- serverless.dev.yml
- serverless.{mode}.dev.yml