Skip to content

Commit

Permalink
change default filter to time based fields (#1030) (#1031)
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] authored May 21, 2024
1 parent c162a6f commit f085de6
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 f085de6

Please sign in to comment.