All Apps and Add-ons

Palo Alto "Could not find macro" Error


I'm using Splunk v 6.0 and Splunk For Palo Alto v 4.1.

When I go to the Threat Dashboard and click on a bar in the Threats By Risk Value graph, the following search returns an empty result set, even though I just selected a non-empty time slot in the graph:

pan_threat severity="critical" earliest=1398209400.000 [| stats count | eval latest = 1398209400.000 + 300 | fields latest]

If I click on the arrow below the query box, it informs me:

In SearchParser: Could not find macro 'pan_threat' that takes 0 arguments. Expecting stanza name 'pan_threat'.

I think something is not being indexed, but I'm not sure. Any help would be appreciated.

0 Karma

Splunk Employee
Splunk Employee

Check where this macro is : 'pan_threat'
manager > advanced search > macros > all apps, all users, do not restrict to current app.

Look at :
- the app where it is
- the owner
- the permissions
- the scope (private, app or global)

And try with larger permissions.


Thanks for your response.

The owner for the app is "no owner".
I am using the console as an admin.

I set the permissions to read/write for all users/all apps, but that did not change anything.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...