Open BrechtClaeys opened 5 years ago
Hi @BrechtClaeys
Looks like you have an extra space in the host address after the ":"
e.g. udp: 10.2.1.8/161
instead of udp:10.2.1.8/161
@colinsurprenant Looks like we may need to update the HOST_REGEX to raise a config error on whitespace or other invalid characters in the host address.
Something like: /^(?<host_protocol>udp|tcp):(?<host_address>[a-z\-\_\.\d]+)\/(?<host_port>\d+)$/i
?
Oh wow, feeling kinda dumb now :) Thanks for helping me out, would indeed be good to have a clearer error message there.
Thanks @BrechtClaeys @axrayn - yeah, not a great handling and error here. I think we should just accept whitespaces to start with and yeah, make sure we don't trigger a NPE from invalid input :P
Hi, When trying out one of the example configurations in the documentation, I keep getting errors. when running logstash.
This is the used configuration in my input:`
I always get the following error:
Any idea what causes this? Thanks in advance.