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

Various JsonPath for the same Event #5

Open
gkfabs opened this issue Sep 11, 2019 · 2 comments
Open

Various JsonPath for the same Event #5

gkfabs opened this issue Sep 11, 2019 · 2 comments

Comments

@gkfabs
Copy link
Contributor

gkfabs commented Sep 11, 2019

Right now I need to extract around 10 json path for the same event.

I am going to try JayWay json library so I can reuse the document parsed.

I hope it will be more efficient if I do Object document = Configuration.defaultConfiguration().jsonProvider().parse(json); once per event body and on that I extract all the json path I need with JsonPath.read(document, "$.date");

I wanted to modify name and jsonpath parameter context to names and jsonpaths. I would then split on a special character such as , just like I saw in other flume interceptor.

Do you need such behaviour too?

@wojtekk
Copy link
Contributor

wojtekk commented Nov 1, 2019

Hi, I'm not using this extension any more :/

@wojtekk
Copy link
Contributor

wojtekk commented Nov 1, 2019

Feel free to propose any changes.

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

2 participants