https://prefect.io logo
t

Talmaj Marinč

02/03/2022, 3:44 PM
I tried to get the logs of my run to analyse failed runs:
Copy code
prefect get logs -n name_of_the_run
but they seemed to be incomplete. I get only 2636 lines, for less than an hour of the flow. The logs are there since I see them in the UI. Any suggestions?
k

Kevin Kho

02/03/2022, 4:11 PM
Can you try using the
FlowRunView
here and using the get_logs here to see if the results are better?
It lets you pass in start_time and end_time too
I suspect there is just a limit to what can be brought in with the way the CLI query is currently written here
4 Views