The isValidIP operator returns true even if the "operand" contains whitespace at the beginning or end.



  • Official comment
    Rahul Choudhary

    Hi Hirotoshi,

    IsValidIPv4 operator is used to detect if the IP address is a valid IP Address or not.

    • If the string is a valid IP it returns true

    • If the string is not a valid IP, it should return false

    Can you check if this is also the case with when using isValid operator?

    If yes then this need to be properly investigated and to see if it is a defect for which I would recommend you to open a support ticket with Sumo logic Support.



    Comment actions Permalink
  • Avatar
    Hirotoshi Hosoda

    Hi Rahul,

    Thank you for reply about isValidIPv4 specification.

    It's same behavior, using isValidIPv4 and isValidIP.

    I tried using isValid operator, but the following "No definition found" message is appeared.

    - No definition found for function isValid(String).
    I would consider opening a Sumo logic support ticket. Thank you.
    Comment actions Permalink

Please sign in to leave a comment.