[Index Management] Report the index mode Elasticsearch returns for data streams - #290169
Open
kapral18 wants to merge 1 commit into
Open
Conversation
kapral18
force-pushed
the
fix/index-management/data-streams-standard-mode-misreported-283371
branch
from
September 10, 2026 00:51
d963514 to
7519617
Compare
kapral18
marked this pull request as ready for review
September 10, 2026 00:51
|
Pinging @elastic/kibana-management (Team:Kibana Management) |
kapral18
force-pushed
the
fix/index-management/data-streams-standard-mode-misreported-283371
branch
from
September 10, 2026 15:35
7519617 to
9523d78
Compare
mattkime
approved these changes
Sep 13, 2026
mattkime
left a comment
Contributor
There was a problem hiding this comment.
Code changes look good and work well!
…ta streams deserializeDataStream only let logsdb and standard through and sent every other index_mode (time_series, lookup, vectordb_document) through the logs-* inference and otherwise to standard, so the data streams list and details flyout showed Standard for time series data streams. Pass through any known IndexMode value and keep the logs-* inference only for undefined or unknown values. Unskip the Scout downgrade-to-time-series test. The serverless data streams API test now reads the expected index mode from Elasticsearch, because vectordb projects default data streams to vectordb_document and the API reports it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
kapral18
force-pushed
the
fix/index-management/data-streams-standard-mode-misreported-283371
branch
from
September 14, 2026 01:17
4b58cf7 to
c1610bc
Compare
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
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.
Closes #283371
Summary
index.mode: time_series(orlookup,vectordb_document) showed Standard in the Data Streams list and in the details flyout, or LogsDB forlogs-*-*names on clusters with logsdb enabled. They now show the mode Elasticsearch reports.Root Cause
deserializeDataStreamonly letlogsdbandstandardthrough; every otherindex_modewent through thelogs-*LogsDB inference and otherwise fell back tostandard. The allow-list arrived with [Index management] Introduce data stream lifecycle editing #275740, replacing the pass-through from [Index Management] Display index mode of data streams depending onlogsdb.enabledcluster setting #207131; the narrowing was not called out there.Fix
IndexModevalue from the Get Data Streams API. Thelogs-*→ LogsDB inference still applies only when Elasticsearch reports no mode or an unknown one.standard: vectordb projects default data streams tovectordb_document, which the API now reports.Before/After Screenshots
Data Streams list, Index mode column for a time series data stream:
Before:
After:
Data stream details flyout, Index mode:
Before:
After:
Test Plan
Index modecolumn fortest-streamreadsTime series.test-stream.Index moderow readsTime series.Release Note
Fixes the Index Management data streams list and details flyout reporting "Standard" for time series data streams.
Assisted with Claude Code using Claude Fable 5.1
🤖 Generated with Claude Code