Your window into the Elastic Stack
Find a file
Kibana Machine 28a83c4c53
[8.7] [SecuritySolution] Fix index filters (#151069) (#151362)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[SecuritySolution] Fix index filters
(#151069)](https://github.com/elastic/kibana/pull/151069)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-15T18:12:27Z","message":"[SecuritySolution]
Fix index filters (#151069)\n\n## Summary\r\nRelevant issues:
\r\nhttps://github.com/elastic/kibana/pull/148681/files#r1104594568\r\nhttps://github.com/elastic/kibana/pull/136407\r\n\r\nPlease
enable feature flag: chartEmbeddablesEnabled\r\n\r\n### Steps to
verify:\r\n1. Check the selected index patterns you have from the
sourcerer\r\n2. Inspect KPIs on host / network / users pages, make sure
it matches\r\nthe selected index patterns from the sourcerer\r\n3. Click
`...` button of each KPIs and `Open in Lens`, Inspect >\r\nrequest, and
check the displayed index patterns matches index filters.\r\n\r\n###
Before: Indices were missing from the inspect panel:\r\n<img
width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 50
47\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560779-0df2a1e6-072c-4ccc-8004-e92256fadd05.png\">\r\n\r\nIndex
patterns were missing from Lens inspect panel: \r\n<img width=\"1281\"
alt=\"Screenshot 2023-02-13 at 19 51
14\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560799-476614a6-fda2-452d-a043-47723c1bf13a.png\">\r\n\r\n###
After:\r\n<img width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 57
46\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561890-3ac6206f-ad64-46fe-88cd-ef11abce0651.png\">\r\n<img
width=\"2560\" alt=\"Screenshot 2023-02-13 at 19 58
11\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561897-b9d5046d-335e-4309-be9f-28025605434d.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"2205ba74886577f818bd43ece5c0817daea56b5b","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","v8.7.0","v8.8.0"],"number":151069,"url":"https://github.com/elastic/kibana/pull/151069","mergeCommit":{"message":"[SecuritySolution]
Fix index filters (#151069)\n\n## Summary\r\nRelevant issues:
\r\nhttps://github.com/elastic/kibana/pull/148681/files#r1104594568\r\nhttps://github.com/elastic/kibana/pull/136407\r\n\r\nPlease
enable feature flag: chartEmbeddablesEnabled\r\n\r\n### Steps to
verify:\r\n1. Check the selected index patterns you have from the
sourcerer\r\n2. Inspect KPIs on host / network / users pages, make sure
it matches\r\nthe selected index patterns from the sourcerer\r\n3. Click
`...` button of each KPIs and `Open in Lens`, Inspect >\r\nrequest, and
check the displayed index patterns matches index filters.\r\n\r\n###
Before: Indices were missing from the inspect panel:\r\n<img
width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 50
47\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560779-0df2a1e6-072c-4ccc-8004-e92256fadd05.png\">\r\n\r\nIndex
patterns were missing from Lens inspect panel: \r\n<img width=\"1281\"
alt=\"Screenshot 2023-02-13 at 19 51
14\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560799-476614a6-fda2-452d-a043-47723c1bf13a.png\">\r\n\r\n###
After:\r\n<img width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 57
46\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561890-3ac6206f-ad64-46fe-88cd-ef11abce0651.png\">\r\n<img
width=\"2560\" alt=\"Screenshot 2023-02-13 at 19 58
11\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561897-b9d5046d-335e-4309-be9f-28025605434d.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"2205ba74886577f818bd43ece5c0817daea56b5b"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151069","number":151069,"mergeCommit":{"message":"[SecuritySolution]
Fix index filters (#151069)\n\n## Summary\r\nRelevant issues:
\r\nhttps://github.com/elastic/kibana/pull/148681/files#r1104594568\r\nhttps://github.com/elastic/kibana/pull/136407\r\n\r\nPlease
enable feature flag: chartEmbeddablesEnabled\r\n\r\n### Steps to
verify:\r\n1. Check the selected index patterns you have from the
sourcerer\r\n2. Inspect KPIs on host / network / users pages, make sure
it matches\r\nthe selected index patterns from the sourcerer\r\n3. Click
`...` button of each KPIs and `Open in Lens`, Inspect >\r\nrequest, and
check the displayed index patterns matches index filters.\r\n\r\n###
Before: Indices were missing from the inspect panel:\r\n<img
width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 50
47\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560779-0df2a1e6-072c-4ccc-8004-e92256fadd05.png\">\r\n\r\nIndex
patterns were missing from Lens inspect panel: \r\n<img width=\"1281\"
alt=\"Screenshot 2023-02-13 at 19 51
14\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218560799-476614a6-fda2-452d-a043-47723c1bf13a.png\">\r\n\r\n###
After:\r\n<img width=\"2554\" alt=\"Screenshot 2023-02-13 at 19 57
46\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561890-3ac6206f-ad64-46fe-88cd-ef11abce0651.png\">\r\n<img
width=\"2560\" alt=\"Screenshot 2023-02-13 at 19 58
11\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/218561897-b9d5046d-335e-4309-be9f-28025605434d.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"2205ba74886577f818bd43ece5c0817daea56b5b"}}]}]
BACKPORT-->

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
2023-02-15 12:51:03 -07:00
.buildkite [8.7] [artifacts/container image] Only trigger on main branch (#151050) (#151080) 2023-02-14 12:20:20 -06:00
.ci Downgrade Node.js to version 16 (#149531) 2023-01-26 11:53:52 +00:00
.github [8.7] [codeql] Do not run GitHub CodeQL Action on forks (#150974) (#151098) 2023-02-14 03:03:21 -05:00
api_docs [api-docs] 2023-02-08 Daily api_docs build (#150518) 2023-02-08 00:48:07 -05:00
config [serverless] split serverless config files (#150616) 2023-02-08 13:28:47 -07:00
dev_docs implement "plugin" package type (#149370) 2023-01-30 10:47:53 -07:00
docs [8.7] [DOCS] Clarify alerting security (#150653) (#151183) 2023-02-14 12:33:31 -05:00
examples [Guided onboarding] Registers 3 separate guide IDs for search (#149968) 2023-02-06 06:16:26 -07:00
kbn_pm Implement package linter (#148496) 2023-01-09 16:49:29 -07:00
legacy_rfcs rename @elastic/* packages to @kbn/* (#138957) 2022-08-18 08:54:42 -07:00
licenses Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
packages [8.7] [@kbn/handlebars] Refactor types (#150520) (#151127) 2023-02-14 06:44:59 -07:00
plugins [dev/cli] ensure plugins/ and all watch source dirs exist (#78973) 2020-09-30 10:20:44 -07:00
scripts [ci-stats] move shipper to a package, validate limits in on-merge job (#149474) 2023-01-25 08:20:40 -07:00
src [8.7] [SecuritySolution] Fix index filters (#151069) (#151362) 2023-02-15 12:51:03 -07:00
test [8.7] [Fleet] Bugfix: prevent status runtime query going over character limit (#150910) (#151138) 2023-02-14 08:14:12 -07:00
typings Wrap rison-node to improve types (#146649) 2022-12-01 08:33:56 -07:00
vars [ts] ts refs cache was removed, remove capture task 2022-10-28 14:27:18 -05:00
x-pack [8.7] [SecuritySolution] Fix index filters (#151069) (#151362) 2023-02-15 12:51:03 -07:00
.backportrc.json chore(NA): adds 8.6 into backportrc (#145400) 2022-11-16 19:05:38 +00:00
.bazelignore Bazel config maintenance (#135442) 2022-07-05 10:20:26 -05:00
.bazeliskversion chore(NA): upgrade bazelisk into v1.11.0 (#125070) 2022-02-09 20:43:57 +00:00
.bazelrc chore(NA): use new and more performant BuildBuddy servers (#130350) 2022-04-18 02:01:38 +01:00
.bazelrc.common Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
.bazelversion chore(NA): revert bazel upgrade for v5.2.0 (#135096) 2022-06-24 03:57:21 +01:00
.browserslistrc [browserslist] remove unnecessary browsers (#89186) 2021-01-25 16:30:18 -07:00
.editorconfig .editorconfig MDX files should follow the same rules as MD (#96942) 2021-04-13 11:40:42 -04:00
.eslintignore [NOTICE.txt] Fix notices for Gainsight and FullStory (#146004) 2023-01-13 14:49:43 +01:00
.eslintrc.js [Profling] Single-click setup from Kibana (#148959) 2023-02-07 06:10:30 -07:00
.gitattributes
.gitignore [serverless] split serverless config files (#150616) 2023-02-08 13:28:47 -07:00
.i18nrc.json [RAM] Bring flapping status and settings in o11y (#150483) 2023-02-07 20:52:26 -07:00
.node-version Downgrade Node.js to version 16 (#149531) 2023-01-26 11:53:52 +00:00
.npmrc chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (#88346) 2021-01-14 18:00:23 +00:00
.nvmrc Downgrade Node.js to version 16 (#149531) 2023-01-26 11:53:52 +00:00
.prettierignore [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.prettierrc
.stylelintignore chore(NA): stop grouping bazel out symlink folders (#96066) 2021-04-01 14:16:14 -05:00
.stylelintrc Bump stylelint to ^14 (#136693) 2022-07-20 10:11:00 -05:00
.telemetryrc.json [Telemetry] Fix telemetry-tools TS parser for packages (#149819) 2023-01-31 04:09:09 +03:00
.yarnrc chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
BUILD.bazel Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md (#87439) 2021-02-23 09:01:51 +01:00
CONTRIBUTING.md Update doc slugs to improve analytic tracking, move to appropriate folders (#113630) 2021-10-04 13:36:45 -04:00
FAQ.md Fix small typos in the root md files (#134609) 2022-06-23 09:36:11 -05:00
fleet_packages.json [main] Sync bundled packages with Package Storage (#150523) 2023-02-08 10:25:43 -05:00
github_checks_reporter.json
Jenkinsfile [CI] Disable tracked branch jobs in Jenkins, enable reporting in Buildkite (#112604) 2021-09-21 11:31:15 -04:00
kibana.d.ts fix all violations 2022-04-16 01:37:30 -05:00
LICENSE.txt Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
nav-kibana-dev.docnav.json Adds link to Jan 2023 contributors newsletter. (#150259) 2023-02-07 15:53:49 -05:00
NOTICE.txt [NOTICE.txt] Fix notices for Gainsight and FullStory (#146004) 2023-01-13 14:49:43 +01:00
package.json [8.7] Update dependency chromedriver to v110 (main) (#151329) (#151359) 2023-02-15 12:04:20 -07:00
preinstall_check.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
README.md [README] Update version Compatibility with Elasticsearch (#116040) 2022-01-10 10:31:21 -05:00
renovate.json [8.7] Remove @loaders.gl/polyfills dev-dependency (#151287) (#151307) 2023-02-15 08:12:56 -07:00
RISK_MATRIX.mdx Add "Risk Matrix" section to the PR template (#100649) 2021-06-02 14:43:47 +02:00
SECURITY.md Add security policy to the Kibana repository (#85407) 2020-12-10 09:26:00 -05:00
STYLEGUIDE.mdx [styleguide] update path to scss theme (#140742) 2022-09-15 10:41:14 -04:00
tsconfig.base.json [RAM] Bring flapping status and settings in o11y (#150483) 2023-02-07 20:52:26 -07:00
tsconfig.browser.json
tsconfig.browser_bazel.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
TYPESCRIPT.md Fix small typos in the root md files (#134609) 2022-06-23 09:36:11 -05:00
versions.json chore(NA): update versions after v7.17.10 bump (#150180) 2023-02-03 03:35:26 +00:00
WORKSPACE.bazel Downgrade Node.js to version 16 (#149531) 2023-01-26 11:53:52 +00:00
yarn.lock [8.7] Update dependency chromedriver to v110 (main) (#151329) (#151359) 2023-02-15 12:04:20 -07:00

Kibana

Kibana is your window into the Elastic Stack. Specifically, it's a browser-based analytics and search dashboard for Elasticsearch.

Getting Started

If you just want to try Kibana out, check out the Elastic Stack Getting Started Page to give it a whirl.

If you're interested in diving a bit deeper and getting a taste of Kibana's capabilities, head over to the Kibana Getting Started Page.

Using a Kibana Release

If you want to use a Kibana release in production, give it a test run, or just play around:

Building and Running Kibana, and/or Contributing Code

You might want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Documentation

Visit Elastic.co for the full Kibana documentation.

For information about building the documentation, see the README in elastic/docs.

Version Compatibility with Elasticsearch

Ideally, you should be running Elasticsearch and Kibana with matching version numbers. If your Elasticsearch has an older version number or a newer major number than Kibana, then Kibana will fail to run. If Elasticsearch has a newer minor or patch number than Kibana, then the Kibana Server will log a warning.

Note: The version numbers below are only examples, meant to illustrate the relationships between different types of version numbers.

Situation Example Kibana version Example ES version Outcome
Versions are the same. 7.15.1 7.15.1 💚 OK
ES patch number is newer. 7.15.0 7.15.1 ⚠️ Logged warning
ES minor number is newer. 7.14.2 7.15.0 ⚠️ Logged warning
ES major number is newer. 7.15.1 8.0.0 🚫 Fatal error
ES patch number is older. 7.15.1 7.15.0 ⚠️ Logged warning
ES minor number is older. 7.15.1 7.14.2 🚫 Fatal error
ES major number is older. 8.0.0 7.15.1 🚫 Fatal error

Questions? Problems? Suggestions?

  • If you've found a bug or want to request a feature, please create a GitHub Issue. Please check to make sure someone else hasn't already created an issue for the same topic.
  • Need help using Kibana? Ask away on our Kibana Discuss Forum and a fellow community member or Elastic engineer will be glad to help you out.