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

[Ingest] Find solution to removing index pattern error messages when no matching index exists #62343

Closed
neptunian opened this issue Apr 2, 2020 · 3 comments
Assignees
Labels
Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@neptunian
Copy link
Contributor

#61257 improves the messaging but for most use cases it might make sense to remove this error altogether. It's not uncommon after the Ingest Manager is released that this scenario occurs. When the user installs a package we create some index patterns by default that the user might not actually be using but go look at. We also install dashboards and if they click on one where no data yet exists, it looks like this:

Screen Shot 2020-03-31 at 9 06 52 AM

Or when viewing an index pattern in the Management app

Screen Shot 2020-03-31 at 11 24 32 AM

This is not ideal as we don't want to create indexes that aren't being used, but for now, we will send a document on index pattern creation time to create the index and suppress this error.

@neptunian neptunian added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@ruflin ruflin added the Ingest Management:alpha1 Group issues for ingest management alpha1 label Apr 9, 2020
@neptunian
Copy link
Contributor Author

@ruflin I am thinking to send a document to an index name that the pattern will match but will make its purpose clear to us. Something like:

PUT logs-index-pattern-placeholder/_doc/1
{
}

@ruflin
Copy link
Member

ruflin commented Apr 29, 2020

👍 One issue with the above proposal is that it will match the logs-*-* template and I think it should better not as we might enforce a timestamp there. Perhaps logs-index_pattern_placeholder instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants