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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...