Does Log Search Query Actually Work?

Looking at this https://auth0.com/docs/deploy-monitor/logs/log-search-query-syntax#searchable-fields

And trying to search with user_name:mani* yields no result but I know that log entry exists.

Tried, ip and few others. Did not work. Only connection appear to work.

What is actually supported?

Hi @rsung ,

Log search syntax does works. I use it all the time. Not sure how you passing the syntax. Is it possible for you to share screen shots of the search. Would be easier for me to understand how you searching?

Regards,
Suman Saurav

Hi @rsung

Thank you for reaching out to us!

I just did some tests and the user_name log query does work for me, under the same format that you used, so I believe there might be something else at play here.

Are you getting the same result if searching a different user_name by any chance? I do suspect that the issue could be that there are no logs of users that match your search within our 30 days log retention period. If you login with a user and then perform the same log search for their user_name, does that show up for you?

Looking forward to your reply.

Best regards,
Gerald

1 Like

Thanks for the replies. I see what’s going on. It looks like pagination gets stuck on the search URL.

To recreate the issue:

  1. List all log entries, go to page 3.
  2. On page 3, do a search for a user_name or any other items.
  3. Get No logs match message.

What it should do instead:

  • Search should be not be within the context of pagination. ie. remove the page URL parameter.

Hi @rsung

Thank you for sharing this information!

I’m glad the issue has now been resolved for you; if you would like to submit Feedback on this matter, it would be greatly appreciated. Other users can vote on this idea and if it brings enough interest, our Product team that watches over all feedbacks can further send this to our teams and possibly push the update faster.

Wishing you a great weekend ahead!
Gerald