feat(api): changed sort
This commit is contained in:
parent
46b10702f6
commit
396a2fae5f
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (es *elasticsearch) Request(c *client) error {
|
|||
esC.Search.WithSize(1000),
|
||||
esC.Search.WithScroll(time.Minute*2),
|
||||
esC.Search.WithBody(read),
|
||||
esC.Search.WithSort("timestamp:asc"),
|
||||
esC.Search.WithSort("utc_time:asc"),
|
||||
)
|
||||
log.Print("after looking for logs")
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue