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

Better support for a 'flat' output. #55

Open
jakelandis opened this issue Oct 12, 2017 · 0 comments
Open

Better support for a 'flat' output. #55

jakelandis opened this issue Oct 12, 2017 · 0 comments

Comments

@jakelandis
Copy link
Contributor

Currently when this plugin is used, the output can be very hierarchical with objects of objects.

For example:

 "element" => [
            [ 0] {
                 "name" => "articleid",
                "value" => [
                    [0] "478879"
                ]
            }

Dealing with deep nested structures of arrays may not always be easy (in elasticsearch or logstash).

It may be that the desired output is a flat output like:

 "articleid" => "478879"

Other filters such as mutate can be used to move this data to get the desired output, however via some configuration (and new code!) Logstash should be able to provide an easier experience to flatten out these types of data structures.

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

No branches or pull requests

1 participant