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!

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...

Splunk Classroom Chronicles: Training Tales and Testimonials

Welcome to the "Splunk Classroom Chronicles" series, created to help curious, career-minded learners get ...

Access Tokens Page - New & Improved

Splunk Observability Cloud recently launched an improved design for the access tokens page for better ...