-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from_input does not return true #19407
Comments
noting this is similar to #15534 , however that issue is from Graylog 5.0 so likely something unrelated. |
@drewmiranda-gl I just took a quick peek out of curiosity - I am not that familiar with that stuff: just want to point out that the |
Good observation :) i added a |
I observed this behavior at a customer today as well. The customer was using a rule with just a from_input() that was processing (live) messages. Copied message from the very input were not matching in the rule simulator. (For context: In our rules we usually match against gl2_source_input the way @drewmiranda-gl suggested) |
I've never used this function before, but since the pipeline editor defaults to the UI, i thought i'd give the pipeline GUI editor a try.
I cannot get any pipeline rules to correctly return true when i use
from_input
. I'd tried both the input name as well as the input id.Using
get_field("gl2_source_input") == ""
does work.Example:
Pipeline rule:
Expected Behavior
from_input
returns true if the condition is trueCurrent Behavior
from_input
always returns false.Possible Solution
Steps to Reproduce (for bugs)
from_input
using the rule editor testerContext
Your Environment
Please let me know if there are any questions.
The text was updated successfully, but these errors were encountered: