Skip to content

Bro log creation #1

@theflakes

Description

@theflakes

Looking to get this working as a permanent solution on SecurityOnion. SO rotates Bro logs hourly and Bro only creates the two log files when there is something to write to them.

The easy way of rectifying this problem is to run two instantiations of the this script; one to monitor each file: intel.log and notice.log. Then add the logic to wait till the file exists in each script.

I've also added the logic to ignore certain notice types as I create a lot of notices that I want to see in ELSA but not in Sguil. I added a list variable in the conf file called IGNORE_NOTICE_TYPES. Haven't had a chance to test it yet though.

Please let me know if in any of the above comments I am misunderstanding any part of your script or if there is a better way of doing any of this. And thanks for authoring this script. Looking forward to getting more context in Sguil if I can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions