Answers for "Working with boolean operations like an arithmetic operation."
https://answers.splunk.com/answers/627695/working-with-boolean-operations-like-an-arithmetic.html
The latest answers for the question "Working with boolean operations like an arithmetic operation."Answer by FrankVl
https://answers.splunk.com/answering/627922/view.html
If you represent your boolean values as 1 and 0, you could also apply normal arithmetic operators, to calculate the result, right?
Especially with an AND that is easy, as it can be implemented with multiplication and the negation can be implemented as `abs(B-1)`:
| eval A = 1
| eval B = 0
| eval F = A * abs(B-1)Tue, 20 Mar 2018 11:29:28 GMTFrankVl