All Apps and Add-ons

PAVO Getwatchlist Add-on - Error in splunk cloud - getwatchlist.py

VVVVVvVa
Loves-to-Learn Lots

@aplura_llc_supp  Hello, please see the error below, I am running the getwatchlist sample query from the About page.

|getwatchlist http://www.spamhaus.org/drop/drop.lasso  delimiter=; relevantFieldName=’sourceRange’ relevantFieldCol=1 referenceCol=2 ignoreFirstLine=True comment=;

Errors -

'update_default_profile' referenced before assignment

fix_values() missing 1 required positional argument: 'result'

 

 

8-02-2022 18:52:32.466 ERROR ScriptRunner [28863 phase_1] - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/getwatchlist/bin/getwatchlist.py __EXECUTE__ http://www.spamhaus.org/drop/drop.lasso  delimiter=; relevantFieldName=’sourceRange’ relevantFieldCol=1 referenceCol=2 ignoreFirstLine=True comment=;':   error_message="local variable 'update_default_profile' referenced before assignment" error_type="<class 'UnboundLocalError'>" error_arguments="local variable 'update_default_profile' referenced before assignment" error_filename="getwatchlist.py" error_line_number="76" 

08-02-2022 18:52:32.466 ERROR ScriptRunner [28863 phase_1] - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/getwatchlist/bin/getwatchlist.py __EXECUTE__ http://www.spamhaus.org/drop/drop.lasso  delimiter=; relevantFieldName=’sourceRange’ relevantFieldCol=1 referenceCol=2 ignoreFirstLine=True comment=;':   error_message="fix_values() missing 1 required positional argument: 'result'" error_type="<class 'TypeError'>" error_arguments="fix_values() missing 1 required positional argument: 'result'" error_filename="getwatchlist.py" error_line_number="398" 

Labels (1)
0 Karma

aplura_llc_supp
Path Finder

Hello! I know this is an older post, but, I just tried the latest version of getwatchlist in Splunk Cloud, and your query works as expected now. Thanks!

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...