splunk / splunk-sdk-python

Splunk Software Development Kit for Python
http://dev.splunk.com
Apache License 2.0
698 stars 370 forks source link

feat: Add exception logging in Script #559

Closed kkedziak-splunk closed 5 months ago

kkedziak-splunk commented 8 months ago

This change adds logging of exceptions - exception type, value and traceback, to scripted modular input.

Unfortunately such logs cannot be multi-line due to limitations of ExecProcessor. Multi-line log is always interpreted as separate one-line logs.

sgoral-splunk commented 8 months ago

@kkedziak-splunk we should change PR name