Skip to content

a little better documentation #1

Description

@lcorsini

Hello,
I'm trying to figure out how to use this plugin, I need to parse a oracle log, like this :

<msg time="'2017-02-14T02:00:00.209+01:00'" org_id="'oracle'" comp_id="'rdbms'type='UNKNOWN'" level="'16'" host_id="'lxoraopen0s.mil.esselunga.net'host_addr='10.12.1.21'" pid="'2461'"> <txt>Closing scheduler window</txt> </msg> <msg time="'2017-02-14T02:00:00.209+01:00'" org_id="'oracle'" comp_id="'rdbms'type='UNKNOWN'" level="'16'" host_id="'lxoraopen0s.mil.esselunga.net'host_addr='10.12.1.21'" pid="'2461'"> <txt>Closing Resource Manager plan via scheduler window</txt> </msg> <msg time="'2017-02-14T02:00:00.209+01:00'" org_id="'oracle'" comp_id="'rdbms'type='UNKNOWN'" level="'16'" host_id="'lxoraopen0s.mil.esselunga.net'host_addr='10.12.1.21'" pid="'2461'"> <txt>Clearing Resource Manager CDB plan via parameter</txt> </msg>
and forward it to elastic search.
I don't really understand how to parse the single attributes like timestamp or the pid, and then the message included in /msg/txt
the single example is not very explaining (maybe because the original log is not explained)
I'm not very expert of XML, could you provide some documentation on how to start using this plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions