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

Kibana API for selecting default pattern #97337

Closed
henrikno opened this issue Apr 15, 2021 · 4 comments · Fixed by #100691
Closed

Kibana API for selecting default pattern #97337

henrikno opened this issue Apr 15, 2021 · 4 comments · Fixed by #100691
Assignees
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort v7.14.0

Comments

@henrikno
Copy link
Contributor

Describe the feature:
In #72360 we have an API for updating the index patterns in Kibana, but I didn't see a way to control which one is the default one.

Describe a specific use case for the feature:
We update the list of dashboards/index patterns programmatically, and it seems like the default pattern picked is either random, or first/last one. We'd like a way to control which one is the default deterministically (either a property when creating it, or a separate API).

@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 15, 2021
@streamich streamich added Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:AppServices v7.14.0 and removed needs-team Issues missing a team label labels Apr 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@Dosant Dosant self-assigned this Apr 19, 2021
@mattkime
Copy link
Contributor

@henrikno Are you doing this within Kibana or with the REST api?

@exalate-issue-sync exalate-issue-sync bot added 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 loe:medium Medium Level of Effort and removed loe:small Small Level of Effort labels Apr 26, 2021
@petrklapka petrklapka added 1 and removed 1 labels May 6, 2021
@henrikno
Copy link
Contributor Author

@mattkime: With the REST API. Currently we actually update .kibana indices directly, which we're trying to migrate away from.

@mattkime
Copy link
Contributor

I spoke with @henrikno and he said they're setting up index patterns from a process outside of kibana, hence the REST API usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort v7.14.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants