Rename ORA- field after match

Hello,

I am pretty close with extracting the ORA error out of the message field. However the field created has the dash ORA-. I want to name the field something else. For example ORA_err.

Grok snippet:

grok {
match => [ "message", "(?ORA-[0-9]*)" ]
}

How would I go about doing this?

Thanks,
Frank

I figured this out.

Solution: removed the dash.
grok {
match => [ "message", "(?ORA-[0-9]*)" ]
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.