I am pulling control limits from one index and an actual measurement from another index and want to conditionally format it on the dashboard to be red if the measurement is out of spec and green if it is in. Currently I have it set up where if the actual measurement is within the spec limits it shows the current value but if it is out of spec it shows "0" similar to this:
index="processspec" SpecPointName=Temperature
| fields LowerLimit UpperLimit _time
| table *
| append
[ search index=ActualDate sourcetype="Temperatures"
| fields Measurement]
| stats latest(LowerLimit) as LCL latest(UpperLimit) as UCL latest(Measurement) as Current
| table LCL UCL Current
| eval "Status"=if(Current>LCL AND Current
↧