Skip to content

Conversation

@rStelmach
Copy link
Contributor

@rStelmach rStelmach commented Dec 8, 2025

https://github.com/elastic/observability-error-backlog/issues/325

Summary

This PR fixes an issue where setting a short index.refresh_interval (e.g., 1s) in Serverless caused an "Failed to execute Elasticsearch actions" error.

Problem

Serverless Elasticsearch enforces a minimum refresh interval of 5s (or -1 to disable). Kibana's Streams plugin was not validating the value of this setting, only ensuring the key was allowed. This caused valid-looking changes to fail asynchronously during the execution plan phase.

Testing

  • Added unit tests in validate_stream.test.ts covering valid (5s, 1m, -1) and invalid (1s, 4s) scenarios.

@elasticmachine
Copy link
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!

@rStelmach rStelmach changed the title add server-side validation to prevent index.refresh_interval values… Add server-side validation to prevent index.refresh_interval values… Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants