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

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!

.conf24 | Registration Open!

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...