fluent-plugin-aws_waf_ip_sets
AWS waf ip_sets automation plugin for fluentd
Examples(interval one minutes)
<match lambda.**>
@type aws_waf_ip_sets
ip_address_key ip_address
dos_threshold 1000
ip_set_id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
white_list 192.168.0.1
buffer_path /tmp/test
time_slice_format %Y%m%d_%H%M
time_slice_wait 10s
buffer_type file
</match>
interval
1 minutes
time_slice_format %Y%m%d_%H%M
1 hours
time_slice_format %Y%m%d%H
12 hours
time_slice_format %Y%m%d%p
1 days
time_slice_format %Y%m%d
1 weeks
time_slice_format %Y%m%w
- if use long interval, please set a larger
buffer_chunk_limit
.
parameter
ip_address_key
- ip address key of record
dos_threshold
- threshold
ip_set_id
- AWS waf ip_set_id
white_list
- white list ip address (comma separated values)
ip_set_type
- IPV4 or IPV6
api_type
- waf or waf_regional
aws_access_key_id
- support iam role.
- support environment variables.
aws_secret_access_key
- support iam role.
- support environment variables.
aws_region
- support iam role.
- support environment variables.
Installation
fluent-gem install fluent-plugin-aws_waf_ip_sets
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Information
Copyright
Copyright (c) 2017 Hiroshi Toyama