Created
November 18, 2016 17:33
-
-
Save JustinAzoff/7a7d0fc2ce83e20ac56361b53154cefa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event bro_init() | |
{ | |
Log::remove_default_filter(Files::LOG); | |
Log::add_filter(Files::LOG, [ | |
$name = "files-split", | |
$path_func(id: Log::ID, path: string, rec: Files::Info) = { | |
if (rec?$mime_type && rec$mime_type == "application/pkix-cert") | |
return "files_certs"; | |
return "files"; | |
} | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment