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

Allow Beats stack monitoring w/o elasticseachRef #8273

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

pebrc
Copy link
Collaborator

@pebrc pebrc commented Nov 28, 2024

Fixes #8194

There are cases where we cannot work out the associated Elasticsearch cluster (see the linked issue).

This:

  • checks if the association is defined
  • does not try to render the monitoring.cluster_uuid property

Based on my testing this should be fine. Beats will show up as "standalone cluster (!)" in the stack monitoring UI.
Screenshot 2024-11-28 at 20 17 15

@botelastic botelastic bot added the triage label Nov 28, 2024
@botelastic botelastic bot added the triage label Nov 28, 2024
@pebrc pebrc added the >bug Something isn't working label Nov 28, 2024
@botelastic botelastic bot removed the triage label Nov 28, 2024
@pebrc
Copy link
Collaborator Author

pebrc commented Nov 28, 2024

buildkite test this -f p=gke,t=Test.*StackMonitoring,s=8.15.5

Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

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

LGTM

👍 to backport in 2.16

@pebrc pebrc merged commit af5a6c1 into elastic:main Nov 29, 2024
5 checks passed
pebrc added a commit to pebrc/cloud-on-k8s that referenced this pull request Nov 29, 2024
Fix an issue where the ECK stack monitoring integration would abort reconciliation when there is no elasticsearchRef defined. This removes the cluster_uuid property from the Metricbeat configuration in such cases.

(cherry picked from commit af5a6c1)
@pebrc
Copy link
Collaborator Author

pebrc commented Nov 29, 2024

💚 All backports created successfully

Status Branch Result
2.16

Questions ?

Please refer to the Backport tool documentation

pebrc added a commit that referenced this pull request Nov 29, 2024
Fix an issue where the ECK stack monitoring integration would abort reconciliation when there is no elasticsearchRef defined. This removes the cluster_uuid property from the Metricbeat configuration in such cases.

(cherry picked from commit af5a6c1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v2.16.0 (next)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow ECK deployed Elastic Filebeats to output to a Logstash Ref with metricbeat monitoring
2 participants