Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Infra][ObsUX] Hosts & Container Logs only overview (elastic#20…
…2992) (elastic#204984) # Backport This will backport the following commits from `main` to `8.x`: - [[Infra][ObsUX] Hosts & Container Logs only overview (elastic#202992)](elastic#202992) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da Silva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T16:38:19Z","message":"[Infra][ObsUX] Hosts & Container Logs only overview (elastic#202992)\n\n## Summary\r\n\r\nEnables a logs only overview for hosts & containers. Disables the\r\nmetrics tab as there's no data incoming for metrics, and provides Logs\r\ncharts on the overview page detailing the Log Rate (all logs generated)\r\nand Log Error Rate (all recorded errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses elastic#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only host, though if other scenarios contain logs only\r\ncontainers, feel free to use those as well.\r\n\r\n* Go to Inventory page. Click on a host or container.\r\n* If it is a logs only host/container, no metrics tab should be shown.\r\nMetrics KPI charts should be replaced with Logs KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container contains metrics, the metrics tab should be\r\nvisible and the normal Metrics KPI charts should be present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.17.0","v8.17.1"],"number":202992,"url":"https://github.com/elastic/kibana/pull/202992","mergeCommit":{"message":"[Infra][ObsUX] Hosts & Container Logs only overview (elastic#202992)\n\n## Summary\r\n\r\nEnables a logs only overview for hosts & containers. Disables the\r\nmetrics tab as there's no data incoming for metrics, and provides Logs\r\ncharts on the overview page detailing the Log Rate (all logs generated)\r\nand Log Error Rate (all recorded errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses elastic#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only host, though if other scenarios contain logs only\r\ncontainers, feel free to use those as well.\r\n\r\n* Go to Inventory page. Click on a host or container.\r\n* If it is a logs only host/container, no metrics tab should be shown.\r\nMetrics KPI charts should be replaced with Logs KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container contains metrics, the metrics tab should be\r\nvisible and the normal Metrics KPI charts should be present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202992","number":202992,"mergeCommit":{"message":"[Infra][ObsUX] Hosts & Container Logs only overview (elastic#202992)\n\n## Summary\r\n\r\nEnables a logs only overview for hosts & containers. Disables the\r\nmetrics tab as there's no data incoming for metrics, and provides Logs\r\ncharts on the overview page detailing the Log Rate (all logs generated)\r\nand Log Error Rate (all recorded errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses elastic#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only host, though if other scenarios contain logs only\r\ncontainers, feel free to use those as well.\r\n\r\n* Go to Inventory page. Click on a host or container.\r\n* If it is a logs only host/container, no metrics tab should be shown.\r\nMetrics KPI charts should be replaced with Logs KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container contains metrics, the metrics tab should be\r\nvisible and the normal Metrics KPI charts should be present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/203815","number":203815,"state":"MERGED","mergeCommit":{"sha":"b2f582178878c7ff3093f620c0a30c102e1970d5","message":"[8.17] [Infra][ObsUX] Hosts & Container Logs only overview (elastic#202992) (elastic#203815)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.17`:\n- [[Infra][ObsUX] Hosts & Container Logs only overview\n(elastic#202992)](https://github.com/elastic/kibana/pull/202992)\n\n<!--- Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Gonçalo Rica Pais da\nSilva\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-12-10T16:38:19Z\",\"message\":\"[Infra][ObsUX]\nHosts & Container Logs only overview (elastic#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error Rate (all recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n## How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading the scenario below:\\r\\n\\r\\n```\\r\\nnode scripts/synthtrace\ntraces_logs_entities.ts --live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or container.\\r\\n* If it is a logs only host/container, no metrics\ntab should be shown.\\r\\nMetrics KPI charts should be replaced with Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the host/container\ncontains metrics, the metrics tab should be\\r\\nvisible and the normal\nMetrics KPI charts should be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"backport:prev-minor\",\"ci:project-deploy-observability\",\"Team:obs-ux-infra_services\",\"v8.17.0\"],\"number\":202992,\"url\":\"https://github.com/elastic/kibana/pull/202992\",\"mergeCommit\":{\"message\":\"[Infra][ObsUX]\nHosts & Container Logs only overview (elastic#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error Rate (all recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n## How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading the scenario below:\\r\\n\\r\\n```\\r\\nnode scripts/synthtrace\ntraces_logs_entities.ts --live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or container.\\r\\n* If it is a logs only host/container, no metrics\ntab should be shown.\\r\\nMetrics KPI charts should be replaced with Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the host/container\ncontains metrics, the metrics tab should be\\r\\nvisible and the normal\nMetrics KPI charts should be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"labelRegex\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/202992\",\"number\":202992,\"mergeCommit\":{\"message\":\"[Infra][ObsUX]\nHosts & Container Logs only overview (elastic#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error Rate (all recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n## How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading the scenario below:\\r\\n\\r\\n```\\r\\nnode scripts/synthtrace\ntraces_logs_entities.ts --live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or container.\\r\\n* If it is a logs only host/container, no metrics\ntab should be shown.\\r\\nMetrics KPI charts should be replaced with Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the host/container\ncontains metrics, the metrics tab should be\\r\\nvisible and the normal\nMetrics KPI charts should be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"url\":\"https://github.com/elastic/kibana/pull/203644\",\"number\":203644,\"branch\":\"8.x\",\"state\":\"OPEN\"}]}]\nBACKPORT-->"}},{"url":"https://github.com/elastic/kibana/pull/203644","number":203644,"branch":"8.x","state":"OPEN"}]}] BACKPORT-->
- Loading branch information