Skip to content

Can Modify filter conditions work with boolean ? #6563

Answered by googleg
googleg asked this question in Q&A
Discussion options

You must be logged in to vote

Ok so I was not able to have the Modify filter Condition work with boolean values. The work around I've found is to use a lua script to convert the boolean value into a string:

function conv(tag, timestamp, record)
record["is_lat_null_string"] = string.format("%s",record["is_lat_null"])
return 2, timestamp, record
end

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patrick-stephens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant