Brian Little created BIT-1144:
---------------------------------

             Summary: topk_get_top returned data type
                 Key: BIT-1144
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1144
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.2
         Environment: Ubuntu, both 2.2 release and 2.2.117 from git.
            Reporter: Brian Little
            Priority: Low
         Attachments: topk.bro

I'm trying to get the top few results in a topk data type, and then loop over 
them to print.

Running for over the results brings up an error:

target to iterate over must be a table, set, vector, or string 

The docs say it is of type vector, and running |topk_result| brings back the 
correct count.

example demonstration script attached



--
This message was sent by Atlassian JIRA
(v6.2-OD-09-036#6252)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to