Knowledge Management

macro argument

jip31
Motivator

hello

i try to create a macro with arguments but i have the message "Number of arguments provided (1) does not match with the number implied by the macro name (0)"
in the search i put this:
index="perfmon" sourcetype="Perfmon:CPU" object="$object$" and in the argument i put : object
what is the problem please??

Tags (1)
0 Karma
1 Solution

ansif
Motivator

Macro Name should be have 1 as number of arguments macro name (1)

View solution in original post

0 Karma

ansif
Motivator

Macro Name should be have 1 as number of arguments macro name (1)

0 Karma
Get Updates on the Splunk Community!

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...