mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
require string instead of ipaddr (to allow for hosts)
This commit is contained in:
parent
846a7d6d76
commit
22258e192d
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ class LogStash::Inputs::Syslog < LogStash::Inputs::Base
|
|||
config_name "syslog"
|
||||
|
||||
# TCP listen configuration
|
||||
config :host, :validate => :ipaddr
|
||||
config :host, :validate => :string
|
||||
config :port, :validate => :number
|
||||
|
||||
public
|
||||
|
|
|
@ -7,7 +7,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
|
|||
|
||||
config_name "tcp"
|
||||
|
||||
config :host, :validate => :ipaddr
|
||||
config :host, :validate => :string
|
||||
config :port, :validate => :number, :required => true
|
||||
config :data_timeout, :validate => :number
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue