Rename ORA- field after match


#1

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


#2

I figured this out.

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


(system) #3

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