Skip to content

An output filter for fluentd that filters web events based on IP address

Notifications You must be signed in to change notification settings

jasoncyoun/fluentd-blacklist-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Fluentd Blacklist Filter

This non-buffered output filter for fluentd will filter web events based on blacklisted ip addresses. It is intended to ignore traffic and events sent by bots/crawlers.

Usage:

Alter your td-agent.conf file to have these directives:

<match your.event.tag>
	type bot_filter
</match>
<match filtered>
	type stdout
</match>

Drop the out_bot_filter.rb file into your fluent/plugin directory, put the filters directory on the same level as the plugin directory, with the ip_addresses.txt file in there and restart the service.

Profit!

About

An output filter for fluentd that filters web events based on IP address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages