We have a item that collects a value from a system and returns it into a key.
The text codes can be "failed, up-to-date, new, degrade, unknown" and I would like to create a trigger that alerts me if the status for the last 24h is "failed".
I have tried many variations of .str and .regex however I'm not getting the expected result after several days of testing.
I can trigger on "failed" and this works, however it's the last with with 24 hours or whatever timeframe that causes the problem.
Any thoughts on this ?
The text codes can be "failed, up-to-date, new, degrade, unknown" and I would like to create a trigger that alerts me if the status for the last 24h is "failed".
I have tried many variations of .str and .regex however I'm not getting the expected result after several days of testing.
I can trigger on "failed" and this works, however it's the last with with 24 hours or whatever timeframe that causes the problem.
Any thoughts on this ?