-
Hi all, I can't get the condition to work. It seems the Key_value_equals condition only does string comparison and does not know how to deal with booleans. Any idea on how to do this ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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) |
Beta Was this translation helpful? Give feedback.
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