I recently saw something online about reading a table from an external file in a bro script. Now that I’m ready to do that, I can’t find any references or code examples. Can anyone provide some links?
Take a look at the test in
testing/btest/scripts/base/frameworks/input/setseparator.bro, that
reads in a set, using '|' as the element separator. (If you don't set
that explicitly, it's comma instead.)
Btw, the test suite has a bunch of more tests for the input framework,
which can provide inspiration for more involved use cases that aren't
covered elsewhere.