Beats setup idempotency, Kibana dashboards and arm64 fix - #523
Merged
Conversation
- Use shell instead of command in the setup tasks so the marker file is actually written and the tasks stay idempotent - Set setup.kibana and run setup with --dashboards so each beat's data view and dashboards appear in Kibana - metricbeat setup: run once and drop the with_items loop it ignored - Limit the auditbeat socket dataset to x86_64 (missing in the arm64 build) - Clarify beats_fields and beats_auditbeat_setup descriptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
command, so&&and the marker redirect were passedas literal arguments and the marker was never written, every run reported
"changed". Switched to
shell, the tasks are now idempotent.setup.kibanaand run setup with--dashboards, so each beat'sdata view and dashboards show up in Kibana out of the box.
modules (the loop was ignored by
metricbeat setup).socketdataset is limited to x86_64. It isn't in the arm64build and crash-looped there.
beats_fields,beats_auditbeat_setup).