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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...