Skip to content

wild card catch #2

@j1681358

Description

@j1681358

First of all this is a very good plugin for fluentd. Thank you for making it available for use.
I was trying to use wind card to catch xml with same name or similar name to one field and send them to elastic search.
For example I would like to have all opts on 1 field
<?xml version="1.0" encoding="UTF-8"?> <OptionRequest> <ID>cat</ID> <Password>34</Password> <Opts> <Opt>acrandoom123</Opt> <Opt>acrandoom876</Opt> <Opt>acrandoom167</Opt> <Opt>acrandoom109</Opt> <Opt>acrandoom190</Opt> <Opt>acrandoom579</Opt> <Opt>acrandoom178</Opt> <Opt>acrandoom119</Opt> <Opt>acrandoom233</Opt> <Opt>acrandoom211</Opt> <Opt>acrandoom214</Opt> <Opt>acrandoom215</Opt> <Opt>acrandoom345</Opt> <Opt>acrandoom347</Opt> </Opts> </OptionRequest>
on online xml parser test it parses well(using wildcard////Opt/text()). Fluentd doesnt. Any suggestion how I can achive this. Also number of opt varies on my xml, so they could be only 1 or 100.
I would like it to catch it as "Opt": "acrandoom123" "acrandoom876" "acrandoom167" and so on.

Please point me to right direction how this can be achieved.

Thank you in advance.

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