Issues
- Unable to use to conditional statement with a newly created tagLOGSTASH-1976Logstash Developers
- Feature request: Conditionals in lumebrjack inputLOGSTASH-1893Resolved issue: LOGSTASH-1893Logstash Developers
- metrics get dropped even if not affected by conditionalLOGSTASH-1825Resolved issue: LOGSTASH-1825Colin Surprenant
- conditionals do not work on cloned eventsLOGSTASH-1476Resolved issue: LOGSTASH-1476Colin Surprenant
4 of 4
I have a conditional IF statement to only output if the tag [uid] == "0",
but the statement always executes to false, unless I replace [uid] with [message] which defeats the purpose of the conditional.
#my very simple pattern: UID uid=(?<uid>%{NUMBER})
output {
if [uid] == "0" {
stdout { debug => true }
}
}
Any help would be greatly appreciated.
thanks!