parsing and counting

Comments

1 comment

  • Avatar
    Kevin Keech

    The multi-option should generate a new row for each value matched by the regular expression. So for example, if you have just 1 JSON message with 5 IDs and you perform a multi parse you will end up with what looks like 5 message rows, but the parsed value in the ID field should be different.  Is this not what you are seeing? 

    After the parsing then you would just need to add the following operation to your query to get the count of distinct IDs. 

    | count_distinct(gid) as gid_count

    0
    Comment actions Permalink

Please sign in to leave a comment.