All Apps and Add-ons

pantag: Palo Alto Networks Add-on (PanXapiError)

New Member


We are getting the below error while trying to use pantag command,

External search command 'pantag' returned error code 2. Script output = "ERROR 'PanXapiError' object has no attribute 'msg' "

Running this query:
index=paloalto |dedup dest_ip|table dest_ip | pantag device="a.b.c.d" action="add" ip_field="dest_ip" tag="bad-actor" debug=t

common:176 - Debugging enabled
common:204 - Determining if required arguments are present
common:204 - Determining how firewalls should be contacted based on arguments
common:204 - Use Panorama: False
common:204 - VSys: vsys1
common:204 - Hostname: a.b.c.d
common:204 - Using serials from logs
common:204 - Begin get API key
common:204 - API Key found in Splunk credential store
common:204 - Registering tags on firewall : - ['bad-actor']
common:184 - File "/opt/splunk/etc/apps/SplunkforPaloAltoNetworks/bin/", line 249, in
File "/opt/splunk/etc/apps/SplunkforPaloAltoNetworks/bin/", line 236, in main_splunk
File "/opt/splunk/etc/apps/SplunkforPaloAltoNetworks/bin/lib/", line 184, in exit_with_error
common:185 - 'PanXapiError' object has no attribute 'msg'

Current Application: Palo Alto Networks Add-on
App Version
App Build

Any Ideas?

0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...