I'm trying to setup conditional file input sources based on an environment variable and it was reading the file even when the condition was false.
To simplify the test I setup
input {
if 1 == 2 {
file {
path => ...
}
}
}
Logstash picks up the file source despite the false condition. Any idea why?
Using LS 5.0
Thanks,
Sanjiv