Renaming Every Log -- Bro Script

I’m trying to get logs to be written with an initial time in the file name, and not renamed after rotation.

I have several good examples on how to rename an output log, the problem is there are many logs.

Is there a way I can iterate through “Log::ID” or some other structure to rename every log?

I’ve not been able to do anything to iterate over an enum type so far.



Hi Ben,


Thank you very much. This is exactly what I needed.