Splunk SOAR

Playbook stops in between without completing

shaquibk
Explorer

Hi All,

I am quite new to Phantom. I have written few plabooks which works perfectly as intended when run from the debugger. However, the issue is that, when the playbooks are called via automation, the playbooks start executing but stops in between before getting completed. There are error/warnings seen in the container.

How is that the playbook runs fine when called manually from debugger but not when called by automation.

Any leads would be appreciated.

Thanks,

Shaquib

Labels (1)
0 Karma
1 Solution

phanTom
SplunkTrust
SplunkTrust

@shaquibk it would be nice to have visibility of any errors in the container. 

A couple of things can cause what you are seeing:
- Scope
- Badly configured filter

Scope: If you run a playbook against a container once it will see all artifacts, if you run again on the same container without changing the scope, it will only see "New" artifacts so may complain about empty parameters

Filter: IF you just use a filter without a decision in-front and NONE of the conditions are met then it will stop with no indication.

As you say there are errors you see it is unlikely the filter one but until I can see one or more of the errors I am a bit blind. If you can paste the errors here I might be able to better point you to resolution. 

View solution in original post

0 Karma

shaquibk
Explorer

Hey @phanTom 

Thanks for the quick response. My issue is now resolved.

The issue was actually due to badly configured filter. Removing it worked.

Thanks,

Shaquib

0 Karma

phanTom
SplunkTrust
SplunkTrust

@shaquibk it would be nice to have visibility of any errors in the container. 

A couple of things can cause what you are seeing:
- Scope
- Badly configured filter

Scope: If you run a playbook against a container once it will see all artifacts, if you run again on the same container without changing the scope, it will only see "New" artifacts so may complain about empty parameters

Filter: IF you just use a filter without a decision in-front and NONE of the conditions are met then it will stop with no indication.

As you say there are errors you see it is unlikely the filter one but until I can see one or more of the errors I am a bit blind. If you can paste the errors here I might be able to better point you to resolution. 

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...