Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
[cols="<,<,<",options="header",]
|=======================================================================
|Setting |Input type|Required
| <<plugins-{type}s-{plugin}-address>> |<<array,array>>|No
| <<plugins-{type}s-{plugin}-address>> |<<array,array>>|Yes
| <<plugins-{type}s-{plugin}-network>> |<<array,array>>|No
| <<plugins-{type}s-{plugin}-network_path>> |a valid filesystem path|No
| <<plugins-{type}s-{plugin}-refresh_interval>>| <<number,number>>|No
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/filters/cidr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LogStash::Filters::CIDR < LogStash::Filters::Base
# network => [ "192.0.2.0/24" ]
# }
# }
config :address, :validate => :array, :default => []
config :address, :validate => :array, :default => [], :required => true

# The IP network(s) to check against. Example:
# [source,ruby]
Expand Down