Created
May 18, 2016 14:42
-
-
Save JustinAzoff/d562f6fb3389d06ec27e75676d136a8c 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