Add table turbot_process_logs
Joeturbot opened this issue · comments
References
We have tables for Turbot Controls and Turbot Notifications. Steampipe's values as diagnostic tool would be greatly enhanced with the addition of a table to grab process logs also. This may also require enhancements on the turbot_control
table to include "last_process_id" information to look up process logs.
Use Case
A customer reports a problem with a given control. We can hand them a steampipe query that will take a control_id. The query then returns any resource updates along with the control changes and the debug logs for each control change. This way we get a single diagnostic package instead of piecemeal "send me this, send me something else, send me another thing....etc."
The intent is to build a query to dump the information related to https://{workspace}/apollo/controls/{control_id}/control
as well as https://{workspace}/apollo/processes/{process_id}/detail
and https://{workspace}/apollo/processes/{process_id}/logs?filter=logLevel%3A%3E%3Ddebug
and https://{workspace}/apollo/processes/{process_id}/notifications (We already have the turbot_notification
table so this is covered)
@Joeturbot Thanks for providing us input to scale the Turbot plugin. We will look into it.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 90 days with no activity.