mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
Closes https://github.com/elastic/kibana/issues/206126 ## Summary This PR displays a LogsDB index mode for `logs-*-*` data streams and templates with the `logs-*-*` index pattern if the `cluster.logsdb.enabled` setting is set to true and as "Standard" if it's set to false. If the setting is not set, it is false by default in stateful (and so "Standard" index mode) and true by default in serverless (and so "LogsDB" index mode). **How to test:** In Stateful: 1. Create an index template with a `logs-*-*` index pattern 2. Create a `logs-*-*` data stream: `PUT _data_stream/logs-test-1` 3. Go to Index Management -> Index templates and click on the created index templates. Verify that the index mode is correct (**NOTE:** In stateful, the `cluster.logsdb.enabled` setting is `false` by default, while in serverless it's `true` by default. Therefore, the index mode should be `Standard` in stateful and `LogsDB` in serverless. 4. Go to Index Management -> Data Streams and find the created data stream. Verify that the index mode is correct (**NOTE:** In stateful, the `cluster.logsdb.enabled` setting is `false` by default, while in serverless it's `true` by default. Therefore, the index mode should be `Standard` in stateful and `LogsDB` in serverless. 5. In Console, set the `cluster.logsdb.enabled` setting: ``` PUT /_cluster/settings { "persistent" : { "cluster.logsdb.enabled" : true } } ``` 6. Go to the data stream/templates list and verify that the index mode of the test data stream/template that we created is displayed as LogsDB 7. Change the cluster setting to `false` and verify that the index mode is now displayed as Standard. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
alerting | ||
console | ||
core | ||
data_usage | ||
data_view_field_editor | ||
data_views | ||
elasticsearch_api | ||
favorites | ||
fleet | ||
grok_debugger | ||
index_management | ||
kql_telemetry | ||
management | ||
painless_lab | ||
platform_security | ||
reporting | ||
saved_objects_management | ||
scripts_tests | ||
search_oss | ||
search_profiler | ||
search_xpack | ||
telemetry | ||
README.md |
Kibana Serverless Common API Integration Tests
The common
tests in this directory are not project specific and are running
in two or three of the projects. You can use tags to exclude one of the
projects: skipSvlOblt
, skipSvlSearch
, skipSvlSec
. If no such tag is added,
the test will run in all three projects.
Tests that are designed to only run in one of the projects should be added to
the project specific test directory and not to common
with two skips.
For more information about serverless tests please refer to x-pack/test_serverless/README.
Organizing common tests
- Common tests don't have dedicated config files as they run as part of project configs.
- There's no top level index file and tests are organized in sub-directories in order to better group them based on test run time.
- If you add a new
common
sub-directory, remember to add it to thecommon_configs
of all projects (x-pack/test_serverless/api_integration/test_suites/[observability|search|security]/common_configs
)