-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Infra UI] Link from Metrics Explorer to visualize requires an index pattern to be present #39115
Comments
Pinging @elastic/infra-logs-ui |
After looking into this a bit, it seems as though having at least one Kibana index pattern is a hard requirement for discover and visualize, even though TSVB does not use Kibana index patterns. We have two options:
@tbragin @roncohen @elastic/infra-logs-ui does anyone have thoughts on these two options? |
I guess we also have a third option to auto-create an index pattern when you visit the infra app, the way that APM does when you visit APM... |
@jasonrhodes Since it's so easy for the user to accidentally skip the "setup" step and end up with a fully working Infrastructure UI, but no |
@tbragin yeah that sounds easiest. Here's how APM does it:
I think we could probably do something similar in the metrics explorer page on load. |
After looking into this more, we can't do exactly what APM does because APM's set up instructions are written in JS and share the config with their back-end, so they can both create the same index pattern whether the user does it in the set up phase or Kibana auto-creates it. Beats has a separate flow when a user runs Keeping that creation process in sync will be tricky. For now we will leave this experience as-is. |
Closing this for now while we discuss what to do in the discussion issue. |
Kibana version: 20c9afe
Original install method (e.g. download page, yum, from source, etc.): source
Describe the bug:
When following the link from a Metrics Explorer panel to visualize without any index pattern being defined in the currently active space, the user is redirected to the index pattern creation screen.
Steps to reproduce:
system.cpu
metricset enabled.system.cpu.total.pct
host.name
Expected behavior:
The link loads TSVB as expected.
Screenshots:
Additional Context:
Creating any index pattern solves that problem, even if it is not related to the visualization at all.
Proposed Fix:
Auto-create index pattern for
metricbeat-*
when the infra UI loads, if it doesn't already exist, similar to how APM does this already. See comment: #39115 (comment)The text was updated successfully, but these errors were encountered: