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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...