mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 16:03:20 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Query Rules]Query rules UI plugin (#215029)](https://github.com/elastic/kibana/pull/215029) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Efe Gürkan YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2025-03-21T14:19:25Z","message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Search","backport:version","v9.1.0","v8.19.0"],"title":"[Query Rules]Query rules UI plugin","number":215029,"url":"https://github.com/elastic/kibana/pull/215029","mergeCommit":{"message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215029","number":215029,"mergeCommit":{"message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
107 lines
3.4 KiB
YAML
107 lines
3.4 KiB
YAML
# Search Project Config
|
|
|
|
## Disable APM and Uptime, enable Enterprise Search
|
|
xpack.apm.enabled: false
|
|
|
|
xpack.cloudSecurityPosture.enabled: false
|
|
xpack.infra.enabled: false
|
|
xpack.observabilityLogsExplorer.enabled: false
|
|
xpack.observability.enabled: false
|
|
xpack.securitySolution.enabled: false
|
|
xpack.serverless.observability.enabled: false
|
|
enterpriseSearch.enabled: false
|
|
xpack.observabilityAIAssistant.enabled: false
|
|
xpack.osquery.enabled: false
|
|
|
|
## Fine-tune the search solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
|
|
xpack.features.overrides:
|
|
### Dashboards feature is moved from Analytics category to the Search one.
|
|
dashboard.category: "enterpriseSearch"
|
|
### Dev Tools feature is moved from Analytics category to the Search one.
|
|
dev_tools.category: "enterpriseSearch"
|
|
### Discover feature is moved from Analytics category to the Search one.
|
|
discover.category: "enterpriseSearch"
|
|
### Machine Learning feature is moved from Analytics category to the Management one.
|
|
ml.category: "management"
|
|
### Stack Alerts feature is moved from Analytics category to the Search one renamed to simply `Alerts`.
|
|
stackAlerts:
|
|
name: "Alerts"
|
|
category: "enterpriseSearch"
|
|
### Observability AI Assistant feature is moved to Search and renamed
|
|
observabilityAIAssistant:
|
|
name: "AI Assistant"
|
|
category: "enterpriseSearch"
|
|
### AI Assistant enables the Inventory feature, moving to Search
|
|
inventory:
|
|
category: "enterpriseSearch"
|
|
|
|
## Cloud settings
|
|
xpack.cloud.serverless.project_type: search
|
|
|
|
## Enable the Serverless Search plugin
|
|
xpack.serverless.search.enabled: true
|
|
xpack.searchIndices.enabled: true
|
|
|
|
## Set the home route
|
|
uiSettings.overrides.defaultRoute: /app/elasticsearch
|
|
|
|
## Set the dev project switcher current type
|
|
xpack.serverless.plugin.developer.projectSwitcher.currentType: 'search'
|
|
|
|
# Specify in telemetry the project type
|
|
telemetry.labels.serverless: search
|
|
|
|
# Alerts and LLM config
|
|
xpack.actions.enabledActionTypes:
|
|
['.email', '.index', '.slack', '.jira', '.webhook', '.teams', '.gen-ai', '.bedrock', '.gemini']
|
|
|
|
# Customize empty page state for analytics apps
|
|
no_data_page.analyticsNoDataPageFlavor: 'serverless_search'
|
|
|
|
# Disable Dev tools
|
|
xpack.painless_lab.enabled: false
|
|
|
|
xpack.ml.ad.enabled: false
|
|
xpack.ml.dfa.enabled: false
|
|
xpack.ml.nlp:
|
|
enabled: true
|
|
modelDeployment:
|
|
allowStaticAllocations: true
|
|
vCPURange:
|
|
low:
|
|
min: 0
|
|
max: 2
|
|
static: 2
|
|
medium:
|
|
min: 1
|
|
max: 32
|
|
static: 32
|
|
high:
|
|
min: 1
|
|
max: 512
|
|
static: 512
|
|
xpack.ml.compatibleModuleType: 'search'
|
|
|
|
data_visualizer.resultLinks.fileBeat.enabled: false
|
|
|
|
# Search Notebooks
|
|
xpack.search.notebooks.catalog.url: https://elastic-enterprise-search.s3.us-east-2.amazonaws.com/serverless/catalog.json
|
|
|
|
# Semantic text UI
|
|
xpack.index_management.dev.enableSemanticText: true
|
|
|
|
# AI Assistant config
|
|
xpack.observabilityAIAssistant.enabled: true
|
|
xpack.searchAssistant.enabled: true
|
|
xpack.searchAssistant.ui.enabled: true
|
|
xpack.observabilityAIAssistant.scope: "search"
|
|
aiAssistantManagementSelection.preferredAIAssistantType: "observability"
|
|
xpack.observabilityAiAssistantManagement.logSourcesEnabled: false
|
|
xpack.observabilityAiAssistantManagement.spacesEnabled: false
|
|
xpack.observabilityAiAssistantManagement.visibilityEnabled: false
|
|
|
|
# Synonyms UI
|
|
xpack.searchSynonyms.enabled: true
|
|
|
|
# Query Rules UI
|
|
xpack.searchQueryRules.enabled: false
|