Skip to content

Commit

Permalink
change default filter to time based fields (opensearch-project#1030) (o…
Browse files Browse the repository at this point in the history
…pensearch-project#1033)

Signed-off-by: Subhobrata Dey <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] authored and sbcd90 committed May 21, 2024
1 parent c47d0c0 commit b9f9534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli
String severityLevel = request.param("severityLevel", "ALL");
String alertState = request.param("alertState", "ALL");
// Table params
String sortString = request.param("sortString", "id");
String sortString = request.param("sortString", "start_time");
String sortOrder = request.param("sortOrder", "asc");
String missing = request.param("missing");
int size = request.paramAsInt("size", 20);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli
String detectorId = request.param("detector_id", null);
String detectorType = request.param("detectorType", null);
// Table params
String sortString = request.param("sortString", "id");
String sortString = request.param("sortString", "timestamp");
String sortOrder = request.param("sortOrder", "asc");
String missing = request.param("missing");
int size = request.paramAsInt("size", 20);
Expand Down

0 comments on commit b9f9534

Please sign in to comment.