I have two variables and based on one would like to possible change the value of the other:
.. | eval a="foo" | eval b="some value" | eval a=if(match(b, "kittens"), "bar", a)
So if b contains 'kittens' make a's value equal 'bar', otherwise keep it 'foo'. Is this possible? As it stands now a only ever has a value when b contains 'kittens'.
Thanks,
Kevin
... View more