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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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