Hello, is it possible to extract Prefect Cloud UI ...
# prefect-ui
i
Hello, is it possible to extract Prefect Cloud UI LOGS and show them in our dashboard for observability? What is the best practice here?
z
I’d think you’d probably just want to inherit from the prefect logger and add a logging config that dumps to wherever you need
tho it does look like you can query logs via the graph API
something like this should do it
Copy code
query { 
  flow_run_by_pk(id:"your flow id"),
  { 
    logs {
      id,
      timestamp,
      level,
      message
    }
  }
}
👍 1
i
Thank you