All Apps and Add-ons

Palo Alto "Could not find macro" Error

franks59
Explorer

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

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

franks59
Explorer

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...