Hello,
I have logstash configuration to get two types of inputs, one from File another from Beats.
So I'm setting type variable as "file_input" and "beats_input" respectively.
Next In the filter plugin, I have to have a if condition like below
if "file_input" in [type]{
.....
}
which is working fine.
But in one place have to have a check both the input types..
So want to know how to have OR check in the if condition?
if ["file_input" || "beats_input"] in [type]{
.......
}
Please advise .. Thanks in advance