How to search function logs by specific Date?

I’m trying to debug a function and when I get access to the logs, some stores are so big it shows around 10 calls per second.

If I want to see a specific log for a specific order, I have to scroll around 500 times until I eventually find the order.

This is not good for me nor for Shopify servers.

Yea, very very painful atm. I can see that the webhook logs section allows for specifying a start_time and end_time, so I’m hoping it’s a matter of time before that’s ported across for function logs :crossed_fingers:

Hi there,

honestly this is one of those things that takes way too long to deal with on high volume stores. We ran into the same thing, 10+ calls per second and you’re just endlessly scrolling trying to find one specific order.

No date filter on function logs right now as far as I know. What helped us a bit was using the CLI and grepping by order ID instead of digging through the dashboard. Not ideal but at least it’s faster than scrolling.

Webhook logs already have start/end time params so maybe it comes to function logs eventually. Fingers crossed.