mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
## Summary Removes internal feature flag responsible for switching to Kibana's internal inference endpoint instead of using a dedicated one. How to test: **Clean cluster:** **1. Setup KB** **2. Make sure the `.kibana-elastic-ai-assistant-knowledge-base-*` Data Stream is using default Inference endpoint** ``` http://localhost:5601/app/management/data/index_management/component_templates/.kibana-elastic-ai-assistant-component-template-knowledge-base ``` <img width="1656" alt="image" src="https://github.com/user-attachments/assets/84fda205-6272-4393-8f7d-a449fae2a090" /> <img width="1086" alt="image" src="https://github.com/user-attachments/assets/19e562ec-da5f-4ec2-ab64-7bfb1d64789c" /> **3. Make sure there is no inference endpoint on the list** <img width="1875" alt="image" src="https://github.com/user-attachments/assets/3465df8b-7c0d-4faf-b113-df897694521e" /> **4. Make sure Security Labs content exists on KB list and you can add and edit Document/Index entry ``` http://localhost:5601/app/management/kibana/securityAiAssistantManagement?tab=knowledge_base ``` Migration: **1. Setup KB on at least 2 Kibana spaces on `main` branch** **2. Switch to this PR's branch and start Kibana** **3. Make sure there is no inference endpoint on the list** ``` http://localhost:5601/app/elasticsearch/relevance/inference_endpoints ``` <img width="1875" alt="image" src="https://github.com/user-attachments/assets/3465df8b-7c0d-4faf-b113-df897694521e" /> **4. Make sure that the Data stream was rolled over** ``` http://localhost:5601/app/management/data/index_management/indices?filter=know&includeHiddenIndices=true ``` Should see two indices per Kibana space: <img width="1741" alt="Zrzut ekranu 2025-03-3 o 15 37 55" src="https://github.com/user-attachments/assets/e6da48c8-59e9-43b8-8eac-c2b5e0059954" /> The older index per space should have mapping: <img width="1083" alt="image" src="https://github.com/user-attachments/assets/01f6e422-77d1-4f8b-8b7e-9c541a7ea47c" /> Newer index per space: <img width="1086" alt="image" src="https://github.com/user-attachments/assets/19e562ec-da5f-4ec2-ab64-7bfb1d64789c" /> **4. Make sure Security Labs content exists on KB list and you can add and edit Document/Index entry ``` http://localhost:5601/app/management/kibana/securityAiAssistantManagement?tab=knowledge_base ``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
packages | ||
plugins |