Hey there guys!
I have a field with the following value:
parsed_alert_txt => "ORA-06000: at "SYS.DBMS_QOPATCH", line 777"
But this conditional doesn't seem to work, and I don't know why:
if [parsed_alert_txt] =~ /ORA-/ {
mutate { add_tag => ["passed"] }
}
but it never tags the event, so I assume the regex conditional is not working. Can anyone help me?
Thanks!
wwalker
(Walker)
November 16, 2018, 7:30pm
2
Two suggestions...
I've had issues at times using [field] =~ value/regex, so try flipping it to "ORA-" in [parsed_alert_txt]
Second, define the regex just a little more clearly as ^ORA-.*
. What you have I imagine should work but this is an alternative to try.
system
(system)
Closed
December 14, 2018, 7:30pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.