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

Create DataView before having an index (cannot be created with no backing index) #173404

Closed
Tracked by #166175
zez3 opened this issue Dec 14, 2023 · 9 comments
Closed
Tracked by #166175
Labels
Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages feedback_needed Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@zez3
Copy link

zez3 commented Dec 14, 2023

Create Dataview without having an backing index

When we configure a new policy with a new integration in Fleet we usually also create a new DataView.
It might be that the data has not yet started to be ingested so no index is yet created. This prevents us from creating a new DataView.

Please implement/allow the DataView creation before the index exists

@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 14, 2023
@dej611 dej611 added Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Dec 20, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 20, 2023
@kertal
Copy link
Member

kertal commented Dec 21, 2023

This should be possible by using the DataView API using the allowNoIndex flag https://www.elastic.co/guide/en/kibana/current/data-views-api-create.html
Or do you mean in the Kibana Management UI?

@kertal kertal self-assigned this Dec 21, 2023
@zez3
Copy link
Author

zez3 commented Dec 23, 2023

Or do you mean in the Kibana Management UI

I do

@kertal
Copy link
Member

kertal commented Dec 28, 2023

Wdyt @mattkime
@zez3 using the DataView API ain't an option for this? (because there you can create data views without existing indices)

@zez3
Copy link
Author

zez3 commented Dec 28, 2023

Wdyt @mattkime @zez3 using the DataView API ain't an option for this? (because there you can create data views without existing indices)

Hey @kertal
That is indeed the workaround

@kertal
Copy link
Member

kertal commented Dec 28, 2023

@zez3 but for your use case you'd prefer to create in there User Interface, or is the API solution sufficient? thx!

@zez3
Copy link
Author

zez3 commented Dec 28, 2023

@kertal from my point of view it's ok but my users/tenants are not all knowledgeable. So for them it might be better to stick with the UI. A simple toggle button for allowNoIndex should fix this.

Thank you

@mattkime
Copy link
Contributor

This is certainly something we could do, but we should figure out the best UI for doing so.

@davismcphee davismcphee added loe:small Small Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Jan 4, 2024
@kertal kertal removed their assignment Mar 20, 2024
@kertal kertal added the Icebox label Sep 24, 2024
@kertal
Copy link
Member

kertal commented Sep 24, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages feedback_needed Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

6 participants