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

Logstash health status hardcoded to "green" #15308

Closed
andsel opened this issue Sep 6, 2023 · 1 comment
Closed

Logstash health status hardcoded to "green" #15308

andsel opened this issue Sep 6, 2023 · 1 comment

Comments

@andsel
Copy link
Contributor

andsel commented Sep 6, 2023

Problem statement

Logstash node info API return a status which is always green because it's hardcoded value:

:status => "green", # This is hard-coded to mirror x-pack behavior
.

The node info status color should be one of green, yellow and red as already defined for pipeline (#14602) and queue (#11937) status.

  • green: Logstash is up and running, ready to process or already proicessing data, also all pipelines are green.
  • yellow: any of the pipelines is yellow, the system can still process data but it's not in ideal status. A low space condition on disk (PQ, DLQ and log files needs it) is also a yellow flag. For example if any of the partitions that Logstash is using for his duties, to store PQ segments or anything else is under a certain ration (say 70%) it could be considered yellow. It's also in yellow during the bootstrap of the process till not yet ready to process incoming data.
  • red: means Logstash is up but for any motivation is not able to process data on any of its pipelines.
@andsel andsel self-assigned this Sep 6, 2023
@roaksoax roaksoax changed the title Logstash health status Logstash health status hardcoded to "green" Sep 6, 2023
@andsel
Copy link
Contributor Author

andsel commented Oct 16, 2024

Closed by #16520

@andsel andsel closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants