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

[OsQuery] fix usage collector when .fleet indices are empty #102977

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

nchaulet
Copy link
Member

Summary

Resolve #102789

ES created .fleet* indices are not available for search before any data are indexed, that PR fix that for the osquery collector.
This cause this log to happen for user who are not using Fleet:

server    log   [14:04:30.308] [warning][collector-set][plugins][usage-collection][usageCollection] ResponseError: index_not_found_exception: [index_not_found_exception] Reason: no such index [.fleet-actions]

@nchaulet nchaulet added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Jun 22, 2021
@nchaulet nchaulet self-assigned this Jun 22, 2021
@nchaulet nchaulet requested a review from a team as a code owner June 22, 2021 18:16
@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

@nchaulet nchaulet enabled auto-merge (squash) June 22, 2021 19:29
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nchaulet

Copy link
Contributor

@patrykkopycinski patrykkopycinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @nchaulet 🙏

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet] Unnecessary warning logged to Kibana output
3 participants