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