All Apps and Add-ons

Palo Alto Networks App for Splunk 6.0.1: "panuserupdate" command returned error "External search command 'panuserupdate' returned error code 2. Script output = "ERROR hostname argument required"?

swong2
Path Finder

When running the panuserupdate comand using panorama and serial arguments as follow:

| makeresults
| eval src_ip="100.xxx.xx.xxx"
| eval user="testuser"
| panuserupdate panorama= serial=

I got the following error returned.

External search command 'panuserupdate' returned error code 2. Script output = "ERROR hostname argument required

0 Karma

btorresgil
Builder

Thanks for reporting this. I filed an issue here:
https://github.com/PaloAltoNetworks/SplunkforPaloAltoNetworks/issues/74

This fix will be included in Palo Alto Networks App 6.0.2. In the meantime you can workaround this issue by making the following change:
https://github.com/PaloAltoNetworks/SplunkforPaloAltoNetworks/commit/0c595b16e14b190419448213b45c5d5...

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 ...