Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top Clicks in App Search (Enterprise search) doesn't link documents to its engine #139344

Open
jimyhse opened this issue Aug 24, 2022 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Team:EnterpriseSearch

Comments

@jimyhse
Copy link

jimyhse commented Aug 24, 2022

Kibana version: 8.2.0

Elasticsearch version: 8.2.0

Server OS version: Ubuntu 20.04.4 LTS

Browser version: Google Chrome

Browser OS version: Windows 11

Original install method (e.g. download page, yum, from source, etc.): ECK (docker.elastic.co/eck/eck-operator:2.1.0)

Describe the bug:
Top Clicks in App Search (Enterprise search) doesn't link documents to its engine

Steps to reproduce:

  1. Create a new engine
  2. Index some documents
  3. Register a click for a indexed document and a query
  4. Navigate to the Analytics view for the engine
  5. Click on the search term matching the query in step 3
  6. Click on the document (from step 3)
  7. You will now se an error message "No engine with name 'undefined' could be found."

Expected behavior:
The engine slug should be a part of document link so the document can be opened.

Screenshots (if relevant):
image
image

Errors in browser console (if relevant):
https://kibana-dev.myh.se/internal/app_search/engines/myhse-local/analytics/queries/rocky?start=2022-08-18&end=2022-08-24
{"allTags":["All Analytics Tags","test"],"analyticsUnavailable":false,"currentTag":"All Analytics Tags","endDate":"2022-08-24","logRetentionSettings":{"enabled":true,"disabled_at":null,"retention_policy":{"is_default":true,"min_age_days":180}},"query":"rocky","queriesPerDayForQuery":[0,0,0,0,0,0,0],"startDate":"2022-08-18","totalQueriesForQuery":0,"topClicksForQuery":[{"key":"park_rocky-mountain","doc_count":1,"tags":["test"],"document":{"search_index":"myhse-local","id":"park_rocky-mountain"}}]}

https://kibana-dev.myh.se/internal/app_search/engines/undefined
{"statusCode":404,"error":"Not Found","message":"Not Found","attributes":{"errors":["Not Found"]}}

Provide logs and/or server output (if relevant):
Info logs from Kibana:

[app-server][INFO]: [4cb86821-1d93-41e2-8e0c-02037867ddd4] Started GET "/as/engines/myhse-local/analytics/query/rocky?start=2022-08-18&end=2022-08-24"
[action_controller][INFO]:   Parameters: {"start"=>"2022-08-18", "end"=>"2022-08-24", "engine_slug"=>"myhse-local", "query"=>"rocky"}

Any additional context:

@jimyhse jimyhse added the bug Fixes for quality problems that affect the customer experience label Aug 24, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 24, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 25, 2022
@jimyhse
Copy link
Author

jimyhse commented Oct 19, 2022

Hi, we've upgraded the ECK stack to 8.4.1 and bug is gone. The document links are now rendered correctly.
You can close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:EnterpriseSearch
Projects
None yet
Development

No branches or pull requests

2 participants