Skip to content

Commit

Permalink
Merge pull request #298 from kenhys/add-fallback-explanation
Browse files Browse the repository at this point in the history
Add explanation about oj and yajl fallback
  • Loading branch information
ashie authored Apr 5, 2021
2 parents 2fb097e + ca976c4 commit 3e6adbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parser/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ See [Parse Section Configurations](../configuration/parse-section.md).

Sets the JSON parser. If you have a problem with the configured parser, check the other available parser types.

NOTE: If you want to enable `json_parser oj` by default, The `oj` gem must be installed separately. This is because `oj` gem is not required from fluentd by default.
If `oj` gem is not installed, `yajl` is used as a fallback.

Here is a simple comparison:

* `oj`: Faster json parser
Expand Down

0 comments on commit 3e6adbf

Please sign in to comment.