Reporting

i have two macros if those values are not macthing(a!=b) then i have to schedule another search query , how it is possible??

ajayabburi508
Path Finder

i have two macros

if those values are not macthing(a!=b) then i have to schedule another search query , how it is possible??

example:

macro a is 2 (a=2)

macro b is 3 (b=3)

if a!=b then we have to schedule below query how it is possible in splunk ?

| makeresults | eval x=3+3 ,y=6+6 | table x,y

0 Karma

DalJeanis
Legend

What are you really trying to do?

Macros only run when a search is run, and a search is scheduled when someone creates the schedule, so your question seems to be somewhat confusing.

0 Karma
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...