Splunk SOAR

logging in Splunk SOAR

emesabarrameda
Loves-to-Learn

Hi, 

I am implementing a Splunk SOAR Connector and i was wondering if it is possible to write logs at different levels. There are different levels that can be configured on SystemHealth/Debugging but the BaseConnector only has debug_print and error_print methods. How can I print INFO,  WARNING and TRACE logs on my connector?

Thank

Eduardo

Labels (2)
0 Karma

phanTom
SplunkTrust
SplunkTrust

@emesabarrameda I can't seem to find anything in the docs: https://docs.splunk.com/Documentation/SOARonprem/6.2.0/DevelopApps/AppDevAPIRef 

Both options you call out have the tag option which could maybe be used for thee INFO/WARNING/TRACE strings?

Any reason you want to Split into those categories as it all ends up in spawn.log anyway. 

0 Karma

emesabarrameda
Loves-to-Learn

Hi @phanTom 

Thank for your reply.

On my connector,  there are some actions that are repeated a lot and having logs on them could flood the logs. I was hopping to add those logs only if customer chose to enable them.

Why is the reason to have different levels of loggings if we cannot decide whether to print them or not? 

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...