will result in records that do not validate being completely discarded.
Isolate Example:
<match foo.**>
@type json_schema
mode isolate
schema_file ...
isolate_tag_prefix invalid
add_validation_error true # results in a validation-error key being added to the record
</match>
will result in invalid records being tagged as "invalid.". In the example above, invalid records would be invalid.foo.**
Enrich Example
<match foo.**>
@type json_schema
mode enrich
schema_file ...
enrich_valid {
'valid': 'This is a great document'
} # default valid: true
enrich_invalid {
'invalid': 'You suck at the JSON'
} # default valid: false
add_validation_error true # results in a validation-error key being added to the record
</match>
will result in messages gaining either the enrich_valid or enrich_invalid depending on how the record validates.
Contributing
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
FAQs
Unknown package
We found that fluent-plugin-json-schema-filter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.
Package last updated on 26 Sep 2016
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.