Issues

Select view

Select search mode

 

Unable to use to conditional statement with a newly created tag

Description

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!

Gliffy Diagrams

Details

Assignee

Reporter

Affects versions

Created March 9, 2014 at 10:00 PM
Updated March 10, 2014 at 12:37 AM

Activity

Show:

Imnotgiveingmynametoamachine March 10, 2014 at 12:37 AM

Thank you for your help, I can't believe I missed that.....

Everything works now that I just added
add_tag => "%{uid}"

thanks again!

Jason Kendall March 9, 2014 at 10:03 PM

What you have there is a field of uid, not tag.

Loading...