Splunk SOAR

How to see debug logs from the view.py file of an application?

ansir
Explorer

Hi,

I’m creating an application via the app wizard and I wish to render a custom view.

I have a view.py file with the follow function,

 

def display_action1(provides, all_app_runs, context):
    import phantom.rules as phantom
    
    context['results'] = ['a', 'b', 'c']
    
    
    phantom.debug('runing display_action1')
    print('runing display_action1')
     
    return 'display_action1.html'

 

 

which render the correct view in the widget.

However, i want to be able to view the debug or print statements.

where can i view this?

Kind regards,

Ansir

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Changes to Splunk Instructor-Led Training Completion Criteria

We’re excited to share an update to our instructor-led training program that enhances the learning experience ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

❄️ Welcome the new year with our January lineup of Community Office Hours, Tech Talks, and Webinars! 🎉 ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...