Not sure if it's a bug or my misunderstanding of documentation.

I have a pipeline with following rule in it

rule "drop cronjob"
when 
    has_field("application_name") && to_string($message.application_name) == 
"CRON"
then
    drop_message();
end

If I attach this pipeline to "Syslog" stream, messages are not dropped, and 
I still can see them in the stream. Only if I attach the pipeline to Default 
stream, 
messages begin to be dropped.



Currently it's the only pipeline present in the system, it contains only 
one rule, and it's on stage 0. 

Stream *Syslog* is populated through "normal" way (Stream rules, filtering 
by gl2_source_input). 


Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/1f25535a-46d5-4892-b07a-a1994d7028f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to