Hi guys.
I want to create a variable, lets say my_var_thresdold = 1000
After that, I want to use that var in two places:
$my_var_thresdold$
| eval maxAlert=$my_var_thresdold$
I was taking a look at SideView utils, but I was not able to find anything that works for my situation. Thanks.
Hi. I ended up using a lookup table, storing my thresholds there and using them from both the dashboard query and from the alert query.
Hi. I ended up using a lookup table, storing my thresholds there and using them from both the dashboard query and from the alert query.
Under
<form>
<init>
<set token="my_var_threshold">1000</set>
</init>
.... Your other xml code
</form>
Define the token and then use it anywhere in your searches just like a variable.
Thanks @nabeel652
This not suffice the need because when creating a var inside a dashboard it will only live within that context and it won't be visible when configuring my alert.