Hi team,
I want to capture the logs of any integration (from the marketplace and custom).
is there any way we can achieve it or has someone done it if yes can I have an example of it?
I appreciate any help you can provide.
Hi team,
I want to capture the logs of any integration (from the marketplace and custom).
is there any way we can achieve it or has someone done it if yes can I have an example of it?
I appreciate any help you can provide.
Hi,
Although not implemented myself, there is an api endpoint
api/external/v1/logging/python
Which takes a Json payload - for example:
{
"filter": "labels.integration_name=\\"CrowdStrikeFalcon\\"",
"pageSize": 100,
"sortOrder": "desc"
}
Which returns the python executions related to the integration name in the filter. You could create a custom job/script which polls this periodically to gather the logs and store them where required.
If your goal is to understand if steps or playbooks are failing - I would suggest rather than the above method - creating a looker report which can track failed playbooks by name and count, this will give you an easier method to track things which may require fixing - although will not give you the verbose log output you require until manually visiting cases which have been affected.
Cheers
K
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.