Expose Last Index Request Timestamp in Cat Indices API#18405
Merged
msfroh merged 13 commits intoopensearch-project:mainfrom Jun 25, 2025
Merged
Expose Last Index Request Timestamp in Cat Indices API#18405msfroh merged 13 commits intoopensearch-project:mainfrom
msfroh merged 13 commits intoopensearch-project:mainfrom
Conversation
4cffd55 to
3bfecce
Compare
Contributor
|
❌ Gradle check result for 3bfecce: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
andrross
reviewed
May 30, 2025
server/src/main/java/org/opensearch/index/shard/IndexShard.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/action/admin/indices/stats/IndexStats.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/action/admin/indices/stats/ShardStats.java
Outdated
Show resolved
Hide resolved
andrross
reviewed
May 30, 2025
server/src/internalClusterTest/java/org/opensearch/indices/stats/IndexStatsIT.java
Outdated
Show resolved
Hide resolved
server/src/internalClusterTest/java/org/opensearch/indices/stats/IndexStatsIT.java
Outdated
Show resolved
Hide resolved
Contributor
|
❌ Gradle check result for 7678134: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
8760b58 to
26d366b
Compare
Contributor
Signed-off-by: Andrew Ross <andrross@amazon.com>
Member
|
Looks good to me, @msfroh. I fixed up the changelog so lets merge this when the tests pass again. |
andrross
approved these changes
Jun 24, 2025
Signed-off-by: Andrew Ross <andrross@amazon.com>
Contributor
|
❕ Gradle check result for 874981e: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
tandonks
pushed a commit
to tandonks/OpenSearch
that referenced
this pull request
Aug 5, 2025
…oject#18405) --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andrew Ross <andrross@amazon.com>
This was referenced Jan 10, 2026
Merged
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.
Description
This PR enhances the _cat/indices API by adding two new columns to report the timestamp of the last index request processed for each index:
This mirrors the existing approach for creation.date and creation.date.string, providing both a machine-friendly and a human-friendly representation.
Details
GET _cat/indices?v&h=index,last_index_request_timestamp,last_index_request_timestamp.stringManual Testing
Related Issues
Resolves #10766
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.