Search log events

Hi there!

I have experienced a problem with searching logs

GET /api/v2/logs?fields=description,date,type,connection&include_fields=true&q=type%3A%22sdu%22%20AND%20connection%3A%22Username-Password-Authentication%22

return something like

[
{
“description”: “user_id: 6110c779e16b91006ad62c61”,
“date”: “2021-11-19T17:26:59.375Z”,
“type”: “sdu”,
“connection”: “Username-Password-Authentication”,
“_id”: “90020211119172704443255303696831401639951978484690059282”
},
{
“description”: “user_id: 61976ab7a70765006a118af0”,
“date”: “2021-11-19T09:47:55.566Z”,
“type”: “sdu”,
“connection”: “Username-Password-Authentication”,
“_id”: “90020211119094800612896802701142806310240540593861165058”
}
]

Which is expected query filter request for “connection”: “Username-Password-Authentication” and “type”: “sdu”

But when I add new query parameter &from=90020211119172704443255303696831401639951978484690059282

it breaks all query filters and include all fields like this:

[
{
“date”: “2021-11-19T17:27:00.223Z”,
“type”: “slo”,
“connection_id”: “”,
“client_id”: “jvpUu0u8ldkdInPlQkEDDFG9R8P1y63S”,
“client_name”: “NOXX”,
“ip”: “95.47.123.139”,
“user_agent”: “Chrome 95.0.4638 / Mac OS X 10.15.7”,
“details”: {
“return_to”: “https://test.com”,
“session_id”: “NLJ_XO0Pd_ylzPNtSrMwqR_W48_RkpEL”
},
“hostname”: “dev-9etem8p8.us.auth0.com”,
“user_id”: “”,
“user_name”: “”,
“auth0_client”: {
“name”: “auth0-spa-js”,
“version”: “1.15.0”
},
“log_id”: “90020211119172705161896869729315563980686320628106526722”,
“_id”: “90020211119172705161896869729315563980686320628106526722”,
“isMobile”: false
}, …
]

please fix it! Why type=“slo” here instead of “sdu”? Why all fields are displayed instead of requested description,date,type,connection?

Sorry, now I have read

that Retrieve logs by checkpoint and Retrieve logs by search criteria are sparate criteras and can’t be used simultaneously, but it is not evident from the first look.

" The q or any parameter other than from and take will be ignored and the order by date is not precise."