in same cases we have to test if a field value in the log are legal value of a data type was supposed to before we store it and deal with it by the supposed data type. for example, a server may by accident wrong with a field with IPv6 address in signaling. so we need firstly check if the text string value for IPv6 if a well-formatted IPv6 address. but using regex is too cumbersome to validate this. and to_* function have no return parameter to tell this. any idea for easily copy with this?
cdeng (Charles Deng) #1
jochen (Jochen) #2
In Graylog 3.0.0 it will be possible to check the type of an expression:
system (system) #3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.