Skip to content

Excluding attributes from log files #1509

Answered by jsiwek
etiennevandebijl asked this question in Help
Discussion options

You must be logged in to vote

A logging filter should be able to help with that:

event zeek_init()
	{
	Log::remove_default_filter(SSH::LOG);
	Log::add_filter(SSH::LOG, [$name="my-filter", $exclude=set("host_key")]);
	}

More info about filters at these places in case it helps you find anything interesting:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by etiennevandebijl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants