-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot create JSON extractor #3630
Comments
This was probably introduced in 1aefec0. The validators for extractors were never run before (see graylog2-server/graylog2-server/src/main/java/org/graylog2/inputs/InputImpl.java Lines 76 to 88 in 1aefec0
So the question is, should we:
|
My vote goes for 1.). |
I also vote for 1 |
joschi
pushed a commit
that referenced
this issue
Mar 17, 2017
ghost
removed
the
in progress
label
Apr 19, 2017
kroepke
pushed a commit
that referenced
this issue
Apr 19, 2017
* Fix OptionalStringValidator and validations for extractors Fixes #3630 * Update LimitedOptionalStringValidatorTest to allow empty strings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the current master, creating a JSON extractor fails with the current server output:
Using a breakpoint before the
PersistedServiceImpl
validation, I could see that the validation error is an expectedtarget_field
field in the extractor configuration. This field cannot be set for JSON extractors, as the extractor may create many fields from a single one.Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: