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!

Harnessing Splunk’s Federated Search for Amazon S3

Managing your data effectively often means balancing performance, costs, and compliance. Splunk’s Federated ...

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...