Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow target to the root of the document #16

Open
webmstr opened this issue May 12, 2016 · 1 comment
Open

Allow target to the root of the document #16

webmstr opened this issue May 12, 2016 · 1 comment

Comments

@webmstr
Copy link

webmstr commented May 12, 2016

Input like this:

{ "MyArray": [ { "id": 1}, { "id": 2} ] }

will correctly make two events, but the data from the array will be location under a field named "MyArray", e.g.:

{
    "MyArray": {
        "id": 1
    }
},
{
    "MyArray": {
        "id": 2
    }
}

While you can specify a 'target' param to put the field somewhere else, there's no info on how to put the new fields at the root level of the new events, e.g.

{
    "id": 1
},
{
    "id": 2
}

This would prevent people from having to drop into ruby to move an arbitrary list of fields.

@BlackDark
Copy link

Is this still an open issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants